You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Chunwei Lei (Jira)" <ji...@apache.org> on 2021/11/10 09:44:00 UTC

[jira] [Updated] (CALCITE-4883) The traitset of Exchange operator losses the distribution when externalizing Exchange operator from JSON

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

Chunwei Lei updated CALCITE-4883:
---------------------------------
    Description: 
{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}

  was:
{code:java}
// code placeholder
// input.getTraitSet() might have no same distribution
protected Exchange(RelInput input) {
  this(input.getCluster(), input.getTraitSet(), input.getInput(),
      RelDistributionTraitDef.INSTANCE.canonize(input.getDistribution()));
} 

{code}


> 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
>
> {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)