[Gen4] Aggregation and Grouping on Operators#12994
Merged
harshit-gangal merged 64 commits intovitessio:mainfrom May 25, 2023
Merged
[Gen4] Aggregation and Grouping on Operators#12994harshit-gangal merged 64 commits intovitessio:mainfrom
harshit-gangal merged 64 commits intovitessio:mainfrom
Conversation
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
14 tasks
harshit-gangal
commented
May 2, 2023
harshit-gangal
commented
May 2, 2023
62a27d4 to
9618467
Compare
f5e59b9 to
b8ace21
Compare
789c9ec to
201ffb0
Compare
61a3e7e to
f16e3ca
Compare
… instance, to be used for debugging Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
harshit-gangal
commented
May 22, 2023
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
harshit-gangal
commented
May 22, 2023
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
harshit-gangal
commented
May 22, 2023
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
systay
approved these changes
May 24, 2023
Signed-off-by: Andres Taylor <andres@planetscale.com>
harshit-gangal
commented
May 25, 2023
| var primitive *engine.Projection | ||
| columnNames := slices2.Map(op.Columns, func(from *sqlparser.AliasedExpr) string { | ||
| return from.As.String() | ||
| return from.ColumnName() |
Member
Author
There was a problem hiding this comment.
let's add an e2e test to validate field names are received.
harshit-gangal
commented
May 25, 2023
Comment on lines
+3327
to
3330
| "[COLUMN 2] as a", | ||
| "[COLUMN 0] * [COLUMN 1] as count(*)", | ||
| "[COLUMN 3]" | ||
| "[COLUMN 3] as weight_string(`user`.a)" | ||
| ], |
Member
Author
There was a problem hiding this comment.
none of the test having projection have column alias. Let's add a test for that.
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
GuptaManan100
approved these changes
May 25, 2023
4 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR moves the horizon planning (aggregations, group by, order by) to the new operators model.
Related Issue(s)
Checklist
Deployment Notes