-
Notifications
You must be signed in to change notification settings - Fork 569
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
Subquery Spin-Off: Prioritize query sharding #10621
Subquery Spin-Off: Prioritize query sharding #10621
Conversation
In cases where we aggregate the results of a subquery, sharding is faster in some cases, slower in some. Overall, the impact of the feature seems to be near-zero. Since: - we're not gaining anything - subquery spin-off is the newer feature, and it would be preferrable not to introduce a regression on existing queries - subquery spin-off has an additional overhead of running a second query I think we can give query sharding the priority
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have a test that checks this. Also changelog should be updated (adding this PR to the line where feature was implemented)
Done!
🤦 I was sure I added a CHANGELOG for this, but seems I forgot. Added it now, with all three PRs listed |
Co-authored-by: Taylor C <[email protected]>
Co-authored-by: Charles Korn <[email protected]>
* Subquery Spin-Off: Prioritize query sharding In cases where we aggregate the results of a subquery, sharding is faster in some cases, slower in some. Overall, the impact of the feature seems to be near-zero. Since: - we're not gaining anything - subquery spin-off is the newer feature, and it would be preferrable not to introduce a regression on existing queries - subquery spin-off has an additional overhead of running a second query I think we can give query sharding the priority * Add test + Add CHANGELOG * Update CHANGELOG.md Co-authored-by: Taylor C <[email protected]> * Update CHANGELOG.md Co-authored-by: Charles Korn <[email protected]> --------- Co-authored-by: Taylor C <[email protected]> Co-authored-by: Charles Korn <[email protected]> (cherry picked from commit 7338cd2) Co-authored-by: Julien Duchesne <[email protected]>
In cases where we aggregate the results of a subquery, sharding is faster in some cases, slower in some. Overall, the impact of the feature seems to be near-zero.
Since:
I think we can give query sharding the priority
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.