lihaosky commented on code in PR #26553:
URL: https://github.com/apache/flink/pull/26553#discussion_r2101773401


##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql/validate/ProcedureNamespace.java:
##########
@@ -61,7 +62,7 @@ public RelDataType validateImpl(RelDataType targetRowType) {
         final SqlOperator operator = call.getOperator();
         final SqlCallBinding callBinding = new FlinkSqlCallBinding(validator, 
scope, call);
         final SqlCall permutedCall = callBinding.permutedCall();
-        if (operator instanceof SqlWindowTableFunction) {
+        if (operator instanceof SqlWindowTableFunction || operator instanceof 
SqlMLTableFunction) {

Review Comment:
   `SqlValidatorImpl#validateCall` is not called if this is removed



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to