Dawid Wysakowicz created FLINK-33255:
----------------------------------------

             Summary: Validate argument count during type inference
                 Key: FLINK-33255
                 URL: https://issues.apache.org/jira/browse/FLINK-33255
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.19.0


Currently we do not validate the argument count in 
{{TypeInferenceOperandInference}} which results in bugs like e.g. 
[FLINK-33248]. We do run the check already in {{TypeInferenceUtil}} when 
running inference for Table API so we should do the same in 
{{TypeInferenceOperandInference}} case.

We could expose {{TypeInferenceUtil#validateArgumentCount}} and call it. If the 
check fails, we should not adapt {{operandTypes}}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to