mbutrovich commented on PR #27746: URL: https://github.com/apache/datafusion/pull/27746#issuecomment-7169234271
> I'd be interested in contributing comparative benchmark results for this redesign and discussing potential follow-up optimizations. @rusanoph Thanks, that would help. This PR differs from your CSR adapter in what the build moves and when. It keeps one directory entry per distinct key and stores a key with one row inline in that entry. Only the row IDs of repeated keys move into contiguous groups, and that happens in the same pass that builds the directory. There is no second organization pass and no admission gate. The `hj` queries closest to your low-probe cases are Q4 and Q6 to Q14 (even). They build about 60M `lineitem` rows, because the benchmark turns off join reordering, and probe 100K rows, of which 10% match. The PR description shows them unchanged to 1.09x faster. The build still costs more than on `main`: in my profiles of Q4 and Q5 it takes about 2.8x the CPU of `main`'s build, and the queries come out faster only because the probe gain is larger. Results from your SNAP and JOB workloads on this branch against `main` would be the most useful, including the query shapes where your adapter lost time. -- 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]
