[ 
https://issues.apache.org/jira/browse/FLINK-15968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther closed FLINK-15968.
--------------------------------
    Resolution: Won't Fix

LegacyTypeInfoDataTypeConverter is (as the name indicates) legacy. This utility 
will be removed soon.

> LegacyTypeInfoDataTypeConverter should support conversion from 
> BINARY/VARBINARY to 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: Minor
>              Labels: auto-deprioritized-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.  A similar logic has been implemented for 
> CHAR/VARCHAR type.
> 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