Skip to content

[coverage] Conformance findings: RESULTFETCH-019 #1591

Description

@peco-engineer-bot

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-jdbc.

Each is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT behavior and stays red until this driver is fixed.

  • RESULTFETCH-019: ResultSet.isAfterLast() stays false after next() returns false — the Thrift streaming result impls (StreamingColumnarResult/StreamingInlineArrowResult) decrement globalRowIndex on the exhausting next(), so getCurrentRow() never reaches totalRows and the isAfterLast() comparison never holds
  • RESULTFETCH-019: ResultSet.isAfterLast() stays false after next() returns false on SEA — ArrowStreamResult.next() returns early without incrementing currentRowIndex, so getCurrentRow() stays at totalRows-1 and isAfterLast() never becomes true

Reference driver PR: databricks/databricks-sql-nodejs#465
Coverage PR (reproducing xfail tests): https://github.com/databricks/databricks-driver-test/pull/994

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