AssHero opened a new pull request, #2750:
URL: https://github.com/apache/arrow-datafusion/pull/2750

    # Rationale for this change
   try to reduce left/right/full join to inner join
   
   for query: select ... from a left join b on ... where b.xx = 100;
   if b.xx is null, and b.xx = 100 returns false, filterd those null rows.
   Therefore, there is no need to produce null rows for output, we can use
   inner join instead of left join.
   
   Generally, right join/full join can also be reduced to inner join according 
to these rules.
   
   # What changes are included in this PR?
   add reduce_outer_plan to try to reduce left/right/full join to inner join in 
src/planner.rs
   


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