-
Notifications
You must be signed in to change notification settings - Fork 62
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
Window function #884
Window function #884
Conversation
An initial implementation of window operator
Codecov ReportBase: 80.45% // Head: 80.64% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #884 +/- ##
============================================
+ Coverage 80.45% 80.64% +0.19%
- Complexity 2124 2161 +37
============================================
Files 252 259 +7
Lines 16213 16493 +280
Branches 2893 2922 +29
============================================
+ Hits 13044 13301 +257
- Misses 2307 2318 +11
- Partials 862 874 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Thank you for the great effort in putting together this experimental feature; I know the bits and pieces of this have already been reviewed by others in other PRs. Considering that I had a cursory review and left some comments related to style, duplicate code reduction, etc. Overall LGTM.
lang/src/org/partiql/lang/eval/physical/operators/RelationalOperatorKind.kt
Outdated
Show resolved
Hide resolved
lang/test/org/partiql/lang/eval/builtins/windowFunctions/WindowFunctionTests.kt
Show resolved
Hide resolved
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.
Overall looks really good. Great job pulling in the changes from the last PRs. Great job.
commit 8da40ba Author: R. C. Howell <[email protected]> Date: Mon Nov 28 10:04:52 2022 -0800 Places sources in the conventional Gradle sourceset layout (#901) * Places sources in the conventional Gradle sourceset layout * Uncomment test that randomly failed commit 6d58eca Author: yliuuuu <[email protected]> Date: Fri Nov 25 11:16:27 2022 -0800 add window function doc (#900) * add window function doc commit 666ba52 Author: lziq <[email protected]> Date: Tue Nov 22 12:28:33 2022 -0800 Updated `Abstract Syntax Tree.md` (#897) commit 734257d Author: yliuuuu <[email protected]> Date: Mon Nov 21 18:04:53 2022 -0800 Window function (#884) Experimental implementation `LAG` `LEAD` commit dbc089d Author: yliuuuu <[email protected]> Date: Fri Nov 18 15:24:49 2022 -0800 Fix Distinct(#887) * fix distinct issue commit 4071231 Author: lziq <[email protected]> Date: Thu Nov 17 16:43:35 2022 -0800 Changed default `TypedOpBehvaior` to `HONOR_PARAMETERS` for `PartiQLParser` (#888) commit 2facc92 Author: John Ed Quinn <[email protected]> Date: Thu Nov 17 15:12:10 2022 -0800 Removes use of passed context to improve latency of parse (#890) commit b409242 Author: John Ed Quinn <[email protected]> Date: Thu Nov 17 12:11:24 2022 -0800 Adds SLL prediction mode to parser to reduce latency (#886) commit 328caf8 Author: yliuuuu <[email protected]> Date: Tue Nov 15 15:02:51 2022 -0800 Rename to randomized (#885) commit 664b025 Author: yliuuuu <[email protected]> Date: Mon Nov 14 18:14:38 2022 -0800 Separate randomized tests (#882)
commit 8da40ba Author: R. C. Howell <[email protected]> Date: Mon Nov 28 10:04:52 2022 -0800 Places sources in the conventional Gradle sourceset layout (#901) * Places sources in the conventional Gradle sourceset layout * Uncomment test that randomly failed commit 6d58eca Author: yliuuuu <[email protected]> Date: Fri Nov 25 11:16:27 2022 -0800 add window function doc (#900) * add window function doc commit 666ba52 Author: lziq <[email protected]> Date: Tue Nov 22 12:28:33 2022 -0800 Updated `Abstract Syntax Tree.md` (#897) commit 734257d Author: yliuuuu <[email protected]> Date: Mon Nov 21 18:04:53 2022 -0800 Window function (#884) Experimental implementation `LAG` `LEAD` commit dbc089d Author: yliuuuu <[email protected]> Date: Fri Nov 18 15:24:49 2022 -0800 Fix Distinct(#887) * fix distinct issue commit 4071231 Author: lziq <[email protected]> Date: Thu Nov 17 16:43:35 2022 -0800 Changed default `TypedOpBehvaior` to `HONOR_PARAMETERS` for `PartiQLParser` (#888) commit 2facc92 Author: John Ed Quinn <[email protected]> Date: Thu Nov 17 15:12:10 2022 -0800 Removes use of passed context to improve latency of parse (#890) commit b409242 Author: John Ed Quinn <[email protected]> Date: Thu Nov 17 12:11:24 2022 -0800 Adds SLL prediction mode to parser to reduce latency (#886)
Relevant Issues
LAG
andLEAD
functions #603Description
Key points:
Points to address:
Other Information
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.