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

Julian Hyde resolved CALCITE-931.
---------------------------------
    Resolution: Fixed

Fixed in 
http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/b8599379. 
Thanks for the patch, [~maryannxue]!

> Wrong collation trait in SortJoinTransposeRule for right joins
> --------------------------------------------------------------
>
>                 Key: CALCITE-931
>                 URL: https://issues.apache.org/jira/browse/CALCITE-931
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: CALCITE-931.patch
>
>
> The traitSet of the new Sort for Join's right child should be replaced with 
> rightCollation.
> {code}
>       newRightInput = sort.copy(sort.getTraitSet(), join.getRight(), 
> rightCollation,
>           sort.offset, sort.fetch);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to