hsyuan commented on pull request #1995:
URL: https://github.com/apache/calcite/pull/1995#issuecomment-639281013


   > Based on examples of MergeJoin, seems like the goal of trait derivation 
was to enforce a sort on right input, which does not work for hashjoin and 
nested loop join in this case.
   
   This is incorrect. `derive()` is used to derived new traits from child 
trait, just like project, filter. MergeJoin is different, because it requires 
both sides sorted on the same keys.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to