snuyanzin commented on code in PR #30059:
URL: https://github.com/apache/flink/pull/30059#discussion_r4659094597


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/bridging/BridgingSqlFunction.java:
##########
@@ -228,6 +229,27 @@ public boolean isDeterministic() {
         return resolvedFunction.getDefinition().isDeterministic();
     }
 
+    /**
+     * Compares the function identifier in addition to Calcite's class, name, 
and kind. The name is
+     * only the simple name, so without the identifier the catalog functions 
{@code db1.f} and
+     * {@code db2.f} would be equal, and calls to them with the same operands 
would be merged into
+     * one common sub-expression. Inline functions have no identifier and are 
compared by their
+     * generated name.
+     */

Review Comment:
   actual implementation is much shorter than javadoc
   nobody will read in this case
   can we have it more succinct?



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