[jira] [Created] (FLINK-13933) Hive Generic UDTF can not be used in table API both stream and batch mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13933) Hive Generic UDTF can not be used in table API both stream and batch mode

Shang Yuanchun (Jira)
fa zheng created FLINK-13933:
--------------------------------

             Summary: Hive Generic UDTF can not be used in table API both stream and batch mode
                 Key: FLINK-13933
                 URL: https://issues.apache.org/jira/browse/FLINK-13933
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.9.0
            Reporter: fa zheng
             Fix For: 1.9.1


When i use Hive Generic UDTF in table API,  something wrong with CalciteContextException: No match found for function signature . As mentioned in tutorials, Hive’s GenericUDTF is automatically translated into Flink’s TableFunction. However, it didn't give a property of TABLE_FUNCTION. In convertToSqlFunction, when functionDefinition is instanceof TableFunctionDefinition, it will further call category.isTableFunction() and lead a wrong answer.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)