[
https://issues.apache.org/jira/browse/CALCITE-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haisheng Yuan resolved CALCITE-3889.
------------------------------------
Fix Version/s: 1.23.0
Resolution: Fixed
Fixed inĀ
[https://github.com/apache/calcite/commit/4787cba48eb00190f4477b92386db06cd2c7fb63].
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.23.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> 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)