You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/10/27 02:18:27 UTC

[jira] [Resolved] (CALCITE-931) Wrong collation trait in SortJoinTransposeRule for right joins

     [ 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)