-
Notifications
You must be signed in to change notification settings - Fork 1
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
Aggregation functions in permissive mode #17
Comments
Followup from discussion with @almann. Strict typing mode behavior should still error for the SQL aggregates. Permissive typing mode should never error but coerce to missing in the case of data type mismatches. The This behavior aligns with the arithmetic operators (+, *, /, etc.) for both typing modes. |
From this conformance test comment partiql/partiql-tests#80 (review), we clarified the behavior further for
|
Aggregation functions behavior on mistyped cases in permissive mode -- needs to be verified or even specified.
See, e.g. EvaluatingCompiler.builtinAggregates.checkIsNumberType -- currently, in SUM and AVG, a mistyped element in an aggregated collection always causes an error, even in the permissive mode.
The text was updated successfully, but these errors were encountered: