[ 
https://issues.apache.org/jira/browse/FLINK-18673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther closed FLINK-18673.
--------------------------------
    Fix Version/s: 1.11.3
                   1.12.0
       Resolution: Fixed

Fixed in 1.12.0: 89f9dcd70dc3a1433055e17775b2b2a2c796ca94
Fixed in 1.11.3: 0625b31521247d03b1e2b5280120c6546865da49

> 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
>             Fix For: 1.12.0, 1.11.3
>
>
> 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)

Reply via email to