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

Krisztian Kasa updated CALCITE-3867:
------------------------------------
    Description: 
Relational expression *Exchange* has a *distribution* field. When serializing 
to/from json this field can not be serialized properly.

The distribution field is a *RelDistribution* which contains a type and a list 
of key indexes.

Add methods to RelJson:
{code}
RelDistribution toDistribution(Map<String, Object> map){...}
Object toJson(RelDistribution relDistribution) {...}
{code}

  was:
Relational expression *Exchange* has a *distribution* field. When serializing 
to/from json this field can not be serialized properly.

The distribution field is a *RelDistribution* which contains a type and a list 
of key indexes.


> Support RelDistribution json serialization
> ------------------------------------------
>
>                 Key: CALCITE-3867
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3867
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: Krisztian Kasa
>            Priority: Major
>
> Relational expression *Exchange* has a *distribution* field. When serializing 
> to/from json this field can not be serialized properly.
> The distribution field is a *RelDistribution* which contains a type and a 
> list of key indexes.
> Add methods to RelJson:
> {code}
> RelDistribution toDistribution(Map<String, Object> map){...}
> Object toJson(RelDistribution relDistribution) {...}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to