[ https://issues.apache.org/jira/browse/CALCITE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haisheng Yuan resolved CALCITE-3867. ------------------------------------ Fix Version/s: 1.23.0 Resolution: Fixed Fixed in https://github.com/apache/calcite/commit/62186610f430996b28295d930a4ac505eed17b81, thanks for the PR, [~kkasa]! > 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 > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Fix For: 1.23.0 > > Time Spent: 2h > Remaining Estimate: 0h > > 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)