You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "fa zheng (Jira)" <ji...@apache.org> on 2019/08/31 11:25:00 UTC
[jira] [Created] (FLINK-13933) Hive Generic UDTF can not be used in
table API both stream and batch mode
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)