-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Incremental group emission in HashAggregate #19562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
9ebbf95 to
eacfedb
Compare
eacfedb to
224ce3a
Compare
|
run benchmarks |
|
🤖 |
|
Thank you @alamb for triggering the benchmarks. The results haven't been posted by the bot yet, I wonder if it's expected. |
|
🤖 |
No I am not sure what is going on -- my runner script died. I just restarted it and hopefully we'll get some info |
|
The reason the benchmarks are failing I think is that that they have basically slowed down to a crawl. I killed it after this Perhaps you can run the benchmarks locally benchmarks/bench.sh data clickbench_partitioned
benchmarks/bench.sh run clickbench_partitioned |
Oh that's interesting! That benchmark query runs much more faster locally (same branch and commit) I'll keep digging and try to compare to base locally. |
|
This is the comparison output and it's not great 😞 At first glance mainly topk queries are impacted by the perf regression |
Which issue does this PR close?
Rationale for this change
This is another attempt to solve the long polls observed and explained in #18907. Mostly inspired by @alamb's comment #18906 (comment) on the first attempt PR.
What changes are included in this PR?
This PR is an exploratory implementation to gauge the scope and complexity of supporting incremental group emission in
GroupedHashAggregateStream. The goal is to understand how large this change would be and identify a path to ship it in smaller, reviewable increments.Are these changes tested?
incremental_emitincluded to prove the benefits of these changesAre there any user-facing changes?