-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.11.1
-
Component/s: Table SQL / Planner
-
Labels:
Given a UDF func that accepts a ROW(INT, STRING) as parameter, it cannot be called like this:
SELECT func(ROW(a, b)) FROM t
while this works
SELECT func(r) FROM (SELECT ROW(a, b) FROM t)
The exception returned is:
org.apache.flink.table.api.ValidationException: SQL validation failed. null
with an empty UnsupportedOperationException as cause.
- links to