Maryann Xue created CALCITE-931:
-----------------------------------

             Summary: 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


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