Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.0
Description
If a function has overloaded evaluation methods but same argument names, this leads to a confusing error message where types are missing:
Caused by: org.apache.flink.table.api.ValidationException: Invalid input arguments. Expected signatures are: test-catalog.TEST_DB.myScalarFunc(a => ) at org.apache.flink.table.types.inference.TypeInferenceUtil.createInvalidInputException(TypeInferenceUtil.java:190) at org.apache.flink.table.planner.functions.inference.TypeInferenceOperandChecker.checkOperandTypesOrError(TypeInferenceOperandChecker.java:131) at org.apache.flink.table.planner.functions.inference.TypeInferenceOperandChecker.checkOperandTypes(TypeInferenceOperandChecker.java:89) ... 79 common frames omitted Caused by: org.apache.flink.table.api.ValidationException: Invalid input arguments. at org.apache.flink.table.types.inference.TypeInferenceUtil.inferInputTypes(TypeInferenceUtil.java:467) at org.apache.flink.table.types.inference.TypeInferenceUtil.adaptArguments(TypeInferenceUtil.java:123) at org.apache.flink.table.types.inference.TypeInferenceUtil.adaptArguments(TypeInferenceUtil.java:102) at org.apache.flink.table.planner.functions.inference.TypeInferenceOperandChecker.checkOperandTypesOrError(TypeInferenceOperandChecker.java:126) ... 80 common frames omitted
Attachments
Issue Links
- links to