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

Chunwei Lei resolved CALCITE-4883.
----------------------------------
    Fix Version/s: 1.29.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/pull/2604/commits/6898d16424d81632845fd94d053858fb8269e9ec.

> The traitset of Exchange operator losses the distribution when externalizing 
> Exchange operator from JSON
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4883
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4883
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Chunwei Lei
>            Assignee: Chunwei Lei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.29.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code:java}
> // code placeholder
> // input.getTraitSet() might not have same distribution as 
> input.getDistribution()).
>  protected Exchange(RelInput input) {
>   this(input.getCluster(), input.getTraitSet(), input.getInput(),
>       RelDistributionTraitDef.INSTANCE.canonize(input.getDistribution()));
> } 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to