You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/03/31 21:39:00 UTC

[jira] [Created] (CALCITE-3889) Add apply(Mappings.Mapping) to RelTrait and RelTraitSet

Haisheng Yuan created CALCITE-3889:
--------------------------------------

             Summary: Add apply(Mappings.Mapping) to RelTrait and RelTraitSet
                 Key: CALCITE-3889
                 URL: https://issues.apache.org/jira/browse/CALCITE-3889
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Haisheng Yuan


RelTrait Collation, Distribution have key indices, when we pass down the traitset to child or propagate to parent operator, we have to remap these keys. It would be nice to have {{apply(Mappings.Mapping)}} on RelTrait and RelTraitSet. RelDistribution already has the method, but we may want it on every RelTrait except Convention. 



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