haruki-830 commented on code in PR #4484:
URL: https://github.com/apache/flink-cdc/pull/4484#discussion_r3717878372
##########
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/functions/impl/ComparisonFunctions.java:
##########
@@ -61,27 +72,80 @@ public static boolean greaterThan(Object lhs, Object rhs) {
return universalCompares(lhs, rhs) > 0;
}
+ public static Boolean sqlGreaterThan(Object lhs, Object rhs) {
+ if (lhs == null || rhs == null) {
+ return null;
+ }
+ return universalCompares(lhs, rhs) > 0;
Review Comment:
Addressed in the latest commit. Also rebased onto master while at it.
--
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]