sunshone commented on code in PR #13461:
URL: https://github.com/apache/gluten/pull/13461#discussion_r4411712060


##########
gluten-flink/planner/src/main/java/org/apache/gluten/rexnode/functions/RexCallConverterFactory.java:
##########
@@ -111,6 +111,11 @@ public class RexCallConverterFactory {
           Map.entry("count_char", Arrays.asList(() -> new 
DefaultRexCallConverter("count_char"))),
           Map.entry("EXTRACT", Arrays.asList(() -> new 
DefaultRexCallConverter("extract"))),
           Map.entry("IS TRUE", Arrays.asList(() -> new 
IsTrueRexCallConverter())),

Review Comment:
   Switched the IS TRUE entry to the flinksql is_true function 
(DefaultRexCallConverter), which returns FALSE and never NULL for a NULL input, 
and included IS TRUE in the SQL-level tests asserting FALSE for NULL — see the 
inline reply for details.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to