Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33255

Validate argument count during type inference

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: