[
https://issues.apache.org/jira/browse/FLINK-18673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-18673:
-----------------------------------
Labels: pull-request-available (was: )
> Calling ROW() in a UDF results in UnsupportedOperationException
> ---------------------------------------------------------------
>
> Key: FLINK-18673
> URL: https://issues.apache.org/jira/browse/FLINK-18673
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 1.11.1
> Reporter: Fabian Hueske
> Assignee: Timo Walther
> Priority: Major
> Labels: pull-request-available
>
> Given a UDF {{func}} that accepts a {{ROW(INT, STRING)}} as parameter, it
> cannot be called like this:
> {code:java}
> SELECT func(ROW(a, b)) FROM t{code}
> while this works
> {code:java}
> SELECT func(r) FROM (SELECT ROW(a, b) FROM t){code}
>
> The exception returned is:
> {quote}org.apache.flink.table.api.ValidationException: SQL validation failed.
> null
> {quote}
> with an empty {{UnsupportedOperationException}} as cause.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)