jnturton commented on PR #2638:
URL: https://github.com/apache/drill/pull/2638#issuecomment-1240784918

   > > 
   > 
   > That brings a tear to me eye!
   
   A piece I haven't added is a cast function implementation going from BIT to 
INT using the normal 0 = false, 1 = true correspondence to enable little 
conveniences like taking the sum or average of a boolean. I enjoyed using 
tricks like that in Impala IIRC. But the new casting logic here does provide 
for this, all that's missing is the cast function itself:
   
   ```
   Error: Missing function implementation: [castINT(BIT-OPTIONAL)]
   ``


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to