Haisheng Yuan created CALCITE-4007:
--------------------------------------

             Summary: MergeJoin collation check should not be limited to join 
key's order
                 Key: CALCITE-4007
                 URL: https://issues.apache.org/jira/browse/CALCITE-4007
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Haisheng Yuan


Given MergeJoin on foo.a=bar.a and foo.b=bar.b,
The collation check on MergeJoin always require it is sorted by (a,b), but 
after 1.23.0 calcite can generate MergeJoin on collation of (b,a), or even 
(a,b,c), (b,a,c), which are all legit. We should relax the check condition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to