-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gen4] More aggregation support (#10332)
* refactor: move HAVING with aggregation to QP Signed-off-by: Andres Taylor <andres@planetscale.com> * feat: add aggregation expressions needed by HAVING Signed-off-by: Andres Taylor <andres@planetscale.com> * test&refactor: add integration test and clean up types Signed-off-by: Andres Taylor <andres@planetscale.com> * refactor: use sort.Slice to avoid extra types Signed-off-by: Andres Taylor <andres@planetscale.com> * feat: change the string representation of offset for better clarity Signed-off-by: Andres Taylor <andres@planetscale.com> * feat: handle columns with not in grouping or aggregations better Signed-off-by: Andres Taylor <andres@planetscale.com> * test: update test expectations Signed-off-by: Andres Taylor <andres@planetscale.com> * test refactor: move out test cases that pass from unsupported_cases Signed-off-by: Andres Taylor <andres@planetscale.com>
- Loading branch information
Showing
19 changed files
with
875 additions
and
417 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.