rubenada commented on pull request #2555:
URL: https://github.com/apache/calcite/pull/2555#issuecomment-937513773


   @NobiGo my understanding was that casting decimal (and float, real, double) 
into boolean will be forbidden (implemented by this PR); but casting integer 
types into boolean is (and will continue being) allowed.
   A different issue is that currently casting integer into boolean always 
returns false (instead of zero->false; non-zero->true), but there was another 
ticket to deal with this problem: CALCITE-4782.
   Let us clarify this in the Jira ticket.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to