[ https://issues.apache.org/jira/browse/FLINK-25230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476013#comment-17476013 ]
Timo Walther commented on FLINK-25230: -------------------------------------- commit 75992f495192b84cfe406d7e24a1188c7cb284b0 [table-planner] Replace RelDataType with LogicalType serialization commit ac32c9ffdc4600cba5823e857d0c4dcde9bac48e [table-planner] Regenerate JSON plans > Harden type serialization in JSON plan > -------------------------------------- > > Key: FLINK-25230 > URL: https://issues.apache.org/jira/browse/FLINK-25230 > Project: Flink > Issue Type: Sub-task > Components: Table SQL / Planner > Reporter: Timo Walther > Assignee: Timo Walther > Priority: Major > Labels: pull-request-available > > 1. Introduce two representations for LogicalType > Compact one (using asSerializableString): > {code} > // compact one > outputType: "ROW<i INT, s VARCHAR(2147483647)>" > // full one for all kinds of logical types (time attributes, char(0), inline > structured, etc.) > outputType: { > "root" : "ROW", > "nullable" : true, > "fields" : [ { > "i" : "INT" > }, { > "s" : "VARCHAR(2147483647)" > }] > } > {code} > 2. Drop support of legacy types and symbol classes which should not be part > of the plan > 3. Rework DataView support (shorten, remove concrete classes, support any > external type in accumulators) > 4. Implement a DataTypeJsonDeSerializer > 5. Replace RelDataTypeJsonDeSerializer with LogicalTypeJsonDeSerializer -- This message was sent by Atlassian Jira (v8.20.1#820001)