gustavodemorais commented on code in PR #29967:
URL: https://github.com/apache/flink/pull/29967#discussion_r4694348492


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/SpecializedFunction.java:
##########
@@ -113,6 +114,52 @@ ExpressionEvaluator createEvaluator(
          */
         ExpressionEvaluator createEvaluator(
                 BuiltInFunctionDefinition function, DataType outputDataType, 
DataType... args);
+
+        /**
+         * Creates a serializable comparator for values of the given data 
type, which orders them
+         * ascending with NULL before every other value.

Review Comment:
   This actually matches what we have in TableSemantics.SortDirection exactly. 
Should we just reuse 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]

Reply via email to