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

ASF GitHub Bot updated FLINK-20862:
-----------------------------------
    Labels: pull-request-available  (was: )

> Add a converter from TypeInformation to DataType
> ------------------------------------------------
>
>                 Key: FLINK-20862
>                 URL: https://issues.apache.org/jira/browse/FLINK-20862
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>
> Implement a new TypeInfoDataTypeConverter that will no longer produce 
> LegacyTypeInformationType.
> As mentioned in the FLIP:
> - All types from DataStream API should be supported by this converter.
> - TupleTypeInfoBase will be translated into a proper RowType or 
> StructuredType.
> - BigDecimals will be converted to DECIMAL(38,18) by default.
> - Composite types (tuples, POJOs, rows) will be flattened by default if they 
> are used as top-level records (similar to the old behavior).
> - The order of POJO field's is determined by the DataTypeExtractor and must 
> not be defined manually anymore.
> - GenericTypeInfo is converted to RawType immediately by considering the 
> current configuration.
> - A DataStream that originated from Table API will keep its DataType 
> information due to ExternalTypeInfo implementing DataTypeQueryable.



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

Reply via email to