[ 
https://issues.apache.org/jira/browse/FLINK-15968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033551#comment-17033551
 ] 

Zhenghua Gao commented on FLINK-15968:
--------------------------------------

[~jark] [~lzljs3620320] What do you think about this?

> LegacyTypeInfoDataTypeConverter should support conversion between 
> BINARY/VARBINARY and BYTE_PRIMITIVE_ARRAY_TYPE_INFO
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-15968
>                 URL: https://issues.apache.org/jira/browse/FLINK-15968
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Legacy Planner, Table SQL / Planner
>    Affects Versions: 1.11.0
>            Reporter: Zhenghua Gao
>            Priority: Major
>
> Currently LegacyTypeInfoDataTypeConverter only support conversion between 
> DataTypes.BYTES and BYTE_PRIMITIVE_ARRAY_TYPE_INFO. When we update connectors 
> to new type system, we need to convert BINARY(p) or VARBINARY(p) to 
> BYTE_PRIMITIVE_ARRAY_TYPE_INFO. 
> The Hive connector achieve this via depending blink planner‘s conversion 
> logic, which is odd because a planner dependency won't be necessary for 
> connectors.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to