-
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
Fixes conformance failures #1651
Conversation
Replaces creation of a DECIMAL_ARBITRARY with DECIMAL Fixes null-call of equals function
Fixes aggregations by specifying exact precision/scale Adds comparison operators using new modeling Adds in_collection function using new modeling Rewrites times/division/mod operators using new modeling
836a1b3
to
8443f33
Compare
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.
Nice -- looks like we're back to 50 conformance failures (prev run before the drop - https://github.com/partiql/partiql-lang-kotlin/actions/runs/11899775807). Left some minor comments. Looks good otherwise.
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/AggAvg.kt
Outdated
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/AggAvg.kt
Outdated
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/FnTimes.kt
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/FnModulo.kt
Outdated
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/DiadicComparisonOperator.kt
Outdated
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/FnGt.kt
Outdated
Show resolved
Hide resolved
test/partiql-tests-runner/src/test/kotlin/org/partiql/runner/io/DatumIonReader.kt
Show resolved
Hide resolved
partiql-spi/src/main/kotlin/org/partiql/spi/function/builtins/FnModulo.kt
Outdated
Show resolved
Hide resolved
Adds a shared static decimal per PR feedback
init { | ||
fillTable() | ||
} |
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.
nit and don't change anything, but I think the pattern here is "must call super" which is fairly common and might have some annotations to compile-time enforce this, but I wouldn't change it
Description
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.