Skip to content

[coverage] VOLUME-245705: Failed Local Transfer Fails The Execution #661

Done

Description

@oss-engineer-bot

Expected behavior

A Volume statement whose local half cannot be performed must fail, not quietly succeed.

Per the shared spec:

  • result has exactly 0 row(s)
  • result has exactly 0 row(s)
  • completes without an exception
  • completes without an exception
  • completes without an exception
  • full assertion contract:
result:
- label: list_before_put
  row_count: 0
- label: put_absent_source
  error:
    contains:
    - <absent_source base name>
    - no such
    - not found
    - not_found
    - does not exist
    - cannot find
    - ENOENT
    - local file
    - local path
- label: list_after_failed_put
  row_count: 0
- label: recovery_put
  no_exception: true
- label: recovery_get
  no_exception: true
- label: recovery_get
  local_file:
    name: recovery_download
    bytes_equal: real_source
- label: cleanup_remove
  no_exception: true

What this driver does

  • Thrift: a failing local half of a staging PUT (missing source file) escapes as an uncaughtException instead of rejecting the executeStatement promise, so the caller cannot catch it and the process is taken down
    • test: VOLUME-245705 failedLocalTransferFailsTheExecution

About this finding

Candidate finding from the cross-driver coverage run for databricks/databricks-sql-kernel#521. The test that found it is in https://github.com/databricks/databricks-driver-test/pull/2458, which is still in review. If that PR closes without merging, this issue no longer applies.

The spec describes what users of every driver should see. It doesn't ask this driver to copy another driver's implementation. If this driver gets the same user-visible result another way, or the spec asks for more than the product guarantees, say so on the coverage PR and the spec will change instead.

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