Skip to content

[coverage] Conformance findings: CLOUDFETCH-017 #638

Description

@peco-engineer-bot

Summary

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against adbc-drivers/databricks. 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 (adbc-drivers/databricks) is fixed, then flips green as a tripwire.

Findings

  • CLOUDFETCH-017 [thrift, sea]: A non-numeric adbc.databricks.cloudfetch.prefetch_count (the CloudFetch in-memory chunk bound) throws ArgumentException instead of falling back to the default bound with a diagnostic, so a tuning typo fails the query rather than degrading gracefully
    • failing test: CloudFetch_InMemoryChunkBoundConfiguration (see the coverage PR diff under tests/)
  • CLOUDFETCH-017: A non-numeric adbc.databricks.cloudfetch.prefetch_count (the CloudFetch in-memory chunk bound) throws ArgumentException on both Thrift and SEA instead of falling back to the default bound with a diagnostic, so a tuning typo fails the query rather than degrading gracefully

Reproduce & Expected

CLOUDFETCH-017 — A driver-level bound on how many decompressed CloudFetch chunks are held in memory at once (which is what caps peak RSS on a large result set) must behave as pure tuning: 1.

Reproduce:

SELECT id FROM range(0, 5000000)

Expected (per the shared spec):

  • result has exactly 5000000 row(s)
  • result has exactly 5000000 row(s)
  • result has exactly 5000000 row(s)
  • result has exactly 5000000 row(s)
  • completes without an exception
  • completes without an exception
  • [thrift] OpenSession request configuration.cloudfetch_max_chunks_in_memory is absent
  • [sea] CreateSession request session_confs.cloudfetch_max_chunks_in_memory is absent

Context

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