[
https://issues.apache.org/jira/browse/FLINK-25230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther updated FLINK-25230:
---------------------------------
Component/s: Table SQL / Planner
> 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
> Priority: Major
>
> 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)