slinkydeveloper commented on a change in pull request #17911:
URL: https://github.com/apache/flink/pull/17911#discussion_r759120980



##########
File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/ScalarOperatorGens.scala
##########
@@ -1096,29 +1096,6 @@ object ScalarOperatorGens {
           operandTerm => s"$operandTerm.toBytes($serTerm)"
         }
 
-      // Note: SQL2003 $6.12 - casting is not allowed between boolean and 
numeric types.

Review comment:
       If it's worth to be preserved, I guess we should place it somewhere 
else? Perhaps in `IntegerNumericToBooleanCastRule`?




-- 
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