-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Performance improvements for UNION #15497
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15497 +/- ##
==========================================
- Coverage 67.41% 65.66% -1.76%
==========================================
Files 1560 1564 +4
Lines 192752 194693 +1941
==========================================
- Hits 129952 127837 -2115
- Misses 62800 66856 +4056 ☔ View full report in Codecov by Sentry. |
afe9522
to
3da7497
Compare
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.
very neat. so what would it take now to remove the old concatenate? where is it actually used?
cb7a143
to
05b33a9
Compare
Hello! 👋 This Pull Request is now handled by arewefastyet. The current HEAD and future commits will be benchmarked. You can find the performance comparison on the arewefastyet website. |
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
68d8cb2
to
3895f64
Compare
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Is this aiming for the 19.0.2 release? |
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
let's re-open when we have time |
Description
This PR introduces a new engine primitive -
simple-concatenate
, that should be used when we have full type information. In these situations we can do the type aggregation at plan time and plan the coercion of columns when needed, instead of having to do this at runtime. If we do it at runtime, we have to block until all sources have returned at least one chunk of data, and that is slow.I also changed the
concatenate
primitive to only do the type calculation once per plan, instead of every time it runs. The first time we use a slow sequential execution, but we store the type info so that future uses of the plan can happen fast.Our goal is to streamline the concatenate operation, making it faster and more resource-efficient across various use cases.
Related Issue(s)
Related to: #15466
Checklist
Deployment Notes