-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[multistage] Initial (phase 1) query planner support for window functions #10228
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
[multistage] Initial (phase 1) query planner support for window functions #10228
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10228 +/- ##
============================================
- Coverage 70.43% 70.42% -0.01%
+ Complexity 5759 5100 -659
============================================
Files 2016 2017 +1
Lines 109154 109153 -1
Branches 16583 16594 +11
============================================
- Hits 76881 76874 -7
+ Misses 26894 26892 -2
- Partials 5379 5387 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…clause for window functions
walterddr
left a comment
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.
lgtm overall. I am sure the runtime PR will require some changes on this so let's follow up on the runtime PR once finishes.
This PR introduces the multi-stage planner changes to support Phase 1 of Window Functions. Planning support has been added for the following classes of window queries:
The window functions supported as part of Phase 1 are: SUM, AVG, MIN, MAX, and COUNT
This PR also adds JSON files for planner test cases which can be extended for an exhaustive set of query types.
This PR does not include support for:
The above will be part of future changes for window function support
cc @siddharthteotia @walterddr @Jackie-Jiang