[
https://issues.apache.org/jira/browse/FLINK-15161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu resolved FLINK-15161.
-----------------------------
Fix Version/s: 1.11.0
Resolution: Fixed
Resolved in 1.11.0: 7bb9a2cde19319cc7d3aa4ffccee2709a6b5936b
> Introduce TypeTransformation interface and basic transformations
> ----------------------------------------------------------------
>
> Key: FLINK-15161
> URL: https://issues.apache.org/jira/browse/FLINK-15161
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, the default DataType derived from properties is the default
> conversion now. However, some connectors/formats are still using sql
> Timestamp. But bridging DataType into sql Timestamp is not simple, because
> DataType is nested. So we propose to introduce a TypeTransformation which
> transform one data type to another, this is also a useful tool for FLIP-65.
> The proposal including:
> - Remove {{CallContext}} from the exiting {{TypeTransformation}}.
> - add a package {{o.a.f.table.types.inference.transforms}}
> - add commonly used transform classes there, e.g. {{timeToSqlTypes}}
> - add a class `o.a.f.table.types.inference.TypeTransforms` for listing all
> available transforms
--
This message was sent by Atlassian Jira
(v8.3.4#803005)