[
https://issues.apache.org/jira/browse/CALCITE-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L resolved CALCITE-6488.
--------------------------------
Resolution: Fixed
Fixed in
[{{0deab6f}}|https://github.com/apache/calcite/commit/0deab6f7e0cb4ec63eae8b59477d6f0fadfd11e8]
> Ensure collations created by RelCollations are canonized once
> -------------------------------------------------------------
>
> Key: CALCITE-6488
> URL: https://issues.apache.org/jira/browse/CALCITE-6488
> Project: Calcite
> Issue Type: Task
> Components: core
> Affects Versions: 1.37.0
> Reporter: Ruben Q L
> Assignee: Ruben Q L
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.38.0
>
>
> RelCollations#of canonizes internally the result before returning it; however
> some callers unnecessarily re-canonize the result on their end.
> RelCollations#shift does not canonize its result, some callers canonize on
> their end while others don't.
> It is proposed to align their behaviour: RelCollations#of and
> RelCollations#shift will canonize internally their results before return, so
> that their callers do not need to do it on their end.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)