Timo Walther created FLINK-25230: ------------------------------------ Summary: Harden type serialization in JSON plan Key: FLINK-25230 URL: https://issues.apache.org/jira/browse/FLINK-25230 Project: Flink Issue Type: Sub-task Reporter: Timo Walther
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)