Dandandan commented on PR #24456:
URL: https://github.com/apache/datafusion/pull/24456#issuecomment-7079546969

   The enumerator can now use an implied equality to join a selective dimension 
earlier. In TPC-H Q5, the original predicates imply that customer and nation 
share a nation key through supplier. This makes it possible to use the region 
filter to narrow customers and orders before joining lineitem. The query SQL is 
unchanged.
   
   I compared the previous PR head (`a3e100b2d`) with this update on local 
TPC-H SF1 Parquet, with join enumeration enabled in both binaries and 10 target 
partitions. I alternated binary order across nine pairs. Each observation is 
the median of five warm executions after one warm-up. Q5 improved from **35 ms 
to 31 ms** (11% lower latency) and was faster in all nine pairs. The median was 
unchanged on Q3, Q7, Q8, Q9, Q11 and Q18, and moved from 62 to 61 ms on Q10. 
Both binaries returned matching rows on all eight queries. These timings cover 
the listed queries on one machine.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to