You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (Jira)" <ji...@apache.org> on 2020/07/22 13:42:00 UTC
[jira] [Created] (FLINK-18673) Calling ROW() in a UDF results in
UnsupportedOperationException
Fabian Hueske created FLINK-18673:
-------------------------------------
Summary: 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
Reporter: Fabian Hueske
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)