fsk119 commented on code in PR #26644:
URL: https://github.com/apache/flink/pull/26644#discussion_r2148936515


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/sql/ml/SqlMLPredictTableFunction.java:
##########
@@ -134,100 +123,13 @@ public SqlOperandCountRange getOperandCountRange() {
 
         @Override
         public boolean isOptional(int i) {
-            return i > getOperandCountRange().getMin() && i <= 
getOperandCountRange().getMax();
+            return i >= getOperandCountRange().getMin() && i <= 
getOperandCountRange().getMax();

Review Comment:
   I think you are right. Can you add a seperate commit to fix the problem in 
SqlWindowTableFunction?



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