✕
Skip to content

[coverage] Conformance findings: PARAMQUERY-022,PARAMQUERY-023 #449

Open

Description

@oss-engineer-bot

Summary

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions