You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix UDFOperandMetadata type checking for variable-arity UDFs in SQL path
Calcite's FamilyOperandTypeChecker.checkOperandTypes requires exact
operand count match against the family list size, which fails for SQL
calls with fewer optional args. Both wrap() overloads now derive
List<RelDataType> from SqlCallBinding and delegate to PPL's existing
type checkers (PPLFamilyTypeCheckerWrapper, PPLCompositeTypeChecker)
which correctly handle optional parameters by checking count range
first, then validating only the provided operands.
Signed-off-by: Chen Dai <daichen@amazon.com>
0 commit comments