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

   # Which issue does this PR close?
   
   Closes #78 .
   
    # Rationale for this change
   Join Predicates which are part of OR expressions of FILTER PREDICATES, were 
not pulled properly. Due to that, CROSS JOINs are chosen for those joins 
instead of innerjoin and causes query to run longer.  Actually TPCH Q19 was 
taking more than 2000 sec in my laptop. With Fix, TPCH Q19 is taking ~3 sec.
   
   # What changes are included in this PR?
       -- planner.rs::predicates which are part of OR expr also pulled to
       Joined predicates if left and right child of OR expr are having the same
       predicates.
       -- tests/sql/subqueries.rs::added testcases for the above fix
   
   # Are there any user-facing changes?
   No
   
   


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