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
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-kernel. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-kernel) is fixed, then flips green as a tripwire.
Findings
PARAMQUERY-022 [sea]: SEA decimal bind forwards an exponent-notation value verbatim ("1e-7") instead of the equivalent plain numeral ("0.0000001"); lossless today only because SEA accepts scientific-notation literals, the same wire shape that truncated on the reference driver's Thrift path
failing test: exponent_notation_decimal_parameter_binds_as_plain_numeral (see the coverage PR diff under tests/)
PARAMQUERY-023 [sea]: The typed bind path (StatementSpec::param + TypedValue::Decimal) does not validate DECIMAL precision, so an out-of-range DECIMAL(39,0) parameter is sent and fails server-side with an opaque INVALID_PARAMETER_MARKER_VALUE.INVALID_DATA_TYPE instead of being rejected client-side — the kernel's string-typed bind path already enforces 1..=38 at bind time
failing test: decimal_parameter_beyond_maximum_precision_rejected_before_execution (38-digit half: decimal_parameter_at_maximum_precision_round_trips, green) (see the coverage PR diff under tests/)
Context
The behavior was first fixed in a DIFFERENT driver — reference PR: fix: keep DECIMAL parameter scale on the Thrift backend databricks-sql-nodejs#585 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-kernel; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
Activity