vvysotskyi opened a new pull request, #2533:
URL: https://github.com/apache/drill/pull/2533

   # [DRILL-8209](https://issues.apache.org/jira/browse/DRILL-8209): Introduce 
rule for converting join with distinct input to semi-join
   
   ## Description
   Newer Calcite changed the order of applying rules. AggregateRemoveRule is 
applied before SemiJoinRule, so SemiJoinRule cannot be applied later, since 
aggregate is pruned from planning.
   
   Adding rule that converts join to semi-join if the right side has distinct 
columns.
   Fixed cost and row count computation for semi-join.
   
   ## Documentation
   NA
   
   ## Testing
   Unit tests pass
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to