You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yubin Li (Jira)" <ji...@apache.org> on 2022/11/08 11:37:00 UTC
[jira] [Updated] (FLINK-29929) Correct conversions from ResolvedSchema to TableSchema
[ https://issues.apache.org/jira/browse/FLINK-29929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yubin Li updated FLINK-29929:
-----------------------------
Component/s: Table SQL / Planner
> Correct conversions from ResolvedSchema to TableSchema
> ------------------------------------------------------
>
> Key: FLINK-29929
> URL: https://issues.apache.org/jira/browse/FLINK-29929
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Yubin Li
> Priority: Major
> Attachments: image-2022-11-08-19-32-05-894.png
>
>
> In the new schema framework, DataType in Column indicate wether the column is a time attribute and the old api not, we can see that ```DefaultSchemaResolver.resolve()``` include above logic. but in TableSchema.fromResolvedSchema(), we can't see the time attribute removal logic, thus cause a wrong legacy Timestamp DataType.
> !image-2022-11-08-19-32-05-894.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)