You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "zoucao (Jira)" <ji...@apache.org> on 2022/02/24 14:11:00 UTC

[jira] [Created] (FLINK-26355) VarCharType was not be considered in HiveTableSqlFunction

zoucao created FLINK-26355:
------------------------------

             Summary: VarCharType was not be considered in HiveTableSqlFunction
                 Key: FLINK-26355
                 URL: https://issues.apache.org/jira/browse/FLINK-26355
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Ecosystem
            Reporter: zoucao


VarCharType was not be considered in `HiveTableSqlFunction#coerce`, see [link|https://github.com/apache/flink/blob/a7192af8707f3f0d0f30fc71f3477edd92135cac/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/utils/HiveTableSqlFunction.java#L146], before invoke `HiveTableSqlFunction#coerce`, flink will call the method `createFieldTypeFromLogicalType` to build argumentsArray, if the field's type is varchar, the exception will be thrown.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)