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:43:00 UTC

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

Chunwei Lei created CALCITE-4883:
------------------------------------

             Summary: 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


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



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