You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Across different SQL-compliant databases, there are different semantics related to some numeric operations, including:
integer overflow/underflow
rounding
division by 0
(some other cases)
The SQL-92 spec doesn't make the above cases clear. Some databases will error in the above cases, while others may return NULL or saturate to some default value. The PartiQL spec does not formalize this behavior as it may be operation and implementation-dependent. The conformance test suite should provide some way to configure the runtime numeric semantics for the above cases (e.g. through a test struct option or some namespace).
DoD
Define all the numeric operation semantics that are definable in the test suite
Create set of tests for each of the different numeric operation semantics
The text was updated successfully, but these errors were encountered:
Across different SQL-compliant databases, there are different semantics related to some numeric operations, including:
The SQL-92 spec doesn't make the above cases clear. Some databases will error in the above cases, while others may return
NULL
or saturate to some default value. The PartiQL spec does not formalize this behavior as it may be operation and implementation-dependent. The conformance test suite should provide some way to configure the runtime numeric semantics for the above cases (e.g. through a test struct option or some namespace).DoD
The text was updated successfully, but these errors were encountered: