You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2022/01/14 08:16:00 UTC

[jira] [Closed] (FLINK-25230) Harden type serialization in JSON plan

     [ https://issues.apache.org/jira/browse/FLINK-25230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther closed FLINK-25230.
--------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

> 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
>             Fix For: 1.15.0
>
>
> 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)