-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add SQL aggregates ANY, SOME, EVERY and their COLL_ versions #360
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #360 +/- ##
==========================================
+ Coverage 81.70% 81.74% +0.04%
==========================================
Files 62 62
Lines 15235 15426 +191
Branches 15235 15426 +191
==========================================
+ Hits 12447 12610 +163
- Misses 2285 2303 +18
- Partials 503 513 +10
☔ View full report in Codecov by Sentry. |
Conformance comparison report
Number passing in both: 5455 Number failing in both: 729 Number passing in Base (191b10e) but now fail: 0 Number failing in Base (191b10e) but now pass: 132 The following test(s) were previously failing but now pass. Before merging, confirm they are intended to pass: Click here to see
|
2e5cc1c
to
237826e
Compare
237826e
to
9d99994
Compare
Marking PR as draft. Will rebase on #413 once that PR is merged in to account for evaluation function binding changes. |
9d99994
to
9c84d51
Compare
9c84d51
to
aa98fd9
Compare
Test regression is partially due to a test misclassification that is corrected in: partiql/partiql-tests#107. Basically, the test ( Once that conformance test PR is merged in and I update this PR's partiql-tests submodule, the tests should pass. |
if select.having.is_some() && select.group_by.is_none() { | ||
self.errors.push(AstTransformError::HavingWithoutGroupBy); | ||
Traverse::Stop | ||
} else { | ||
Traverse::Continue | ||
} |
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.
Some context for why this change is in this PR provided in this comment: #360 (comment)
7b818ad
to
751b5ce
Compare
98a4f9f
to
d4bb846
Compare
Adds the SQL aggregate functions
ANY
,SOME
, andEVERY
along with theirCOLL_
versions (i.e.COLL_ANY
,COLL_SOME
,COLL_EVERY
).This PR also
NULL
orMISSING
.COLL_*
functions #419 with some fixes to the strict mode type checking behavior of theCOLL_
functions.HAVING
withoutGROUP BY
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.