[coverage] Conformance findings: CLOUDFETCH-012
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- sql, typescript
Direzione di ricerca
Inizia con il test xfail della PR di copertura per CLOUDFETCH-012 e con i percorsi del driver che gestiscono le opzioni di executeStatement e databricks.cloudfetch.enabled. Confronta il comportamento previsto con la PR di riferimento 225, quindi traccia le richieste ExecuteStatement e CreateSession di SEA/kernel. Il lavoro è completato quando il contratto è soddisfatto: vengono utilizzati INLINE e ARROW_STREAM, can_cloud_download è assente, viene restituita almeno una riga e ci sono zero chiamate a cloud_download.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs. 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-nodejs) is fixed, then flips green as a tripwire.
Findings
- CLOUDFETCH-012 [sea]: SEA/kernel path silently ignores CloudFetch-disable: both per-statement
useCloudFetch:false(driver logs "no-op on kernel") and the connection-leveldatabricks.cloudfetch.enabled=falseextraParameter are dropped, so ExecuteStatement still sends disposition=INLINE_OR_EXTERNAL_LINKS instead of INLINE- failing test:
CLOUDFETCH-012 — cloudfetch disabled: disposition=INLINE, no can_cloud_download conf, 0 cloud downloads [sea](see the coverage PR diff undertests/)
- failing test:
- CLOUDFETCH-012: SEA/kernel path silently ignores CloudFetch-disable: both per-statement
executeStatement(sql, {useCloudFetch:false})(driver logs "no-op on kernel") and the connection-leveldatabricks.cloudfetch.enabled=falseextraParameter are dropped, so ExecuteStatement still sends disposition=INLINE_OR_EXTERNAL_LINKS instead of INLINE and callers who disable CloudFetch keep receiving external links
Reproduce & Expected
CLOUDFETCH-012 — Validates that when CloudFetch is disabled, no CloudFetch activity occurs and results are fetched via the driver's inline result path instead.
Reproduce:
- Execute query with CloudFetch disabled
Expected (per the shared spec):
- completes without an exception
- result has at least 1 row(s)
- [thrift]
ExecuteStatementrequestcanDownloadResult== False - [thrift] exactly 0
cloud_downloadcall(s) - [sea]
ExecuteStatementrequestdisposition== 'INLINE' - [sea]
ExecuteStatementrequestformat== 'ARROW_STREAM' - [sea]
CreateSessionrequestsession_confs.can_cloud_downloadis absent - [sea] exactly 0
cloud_downloadcall(s) - full assertion contract:
result:
- no_exception: true
- row_count_min: 1
- result_not_null_with_data: true
protocol:
thrift:
- request_field:
method: ExecuteStatement
path: canDownloadResult
equals: false
- call_min:
method: FetchResults
min: 1
- call_count:
method: cloud_download
expected: 0
sea:
- request_field:
operation: ExecuteStatement
path: disposition
equals: INLINE
- request_field:
operation: ExecuteStatement
path: format
equals: ARROW_STREAM
- request_field:
operation: CreateSession
path: session_confs.can_cloud_download
present: false
- call_count:
method: cloud_download
expected: 0
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/databricks/databricks-sql-kernel/pull/225 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-nodejs; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
- Coverage PR carrying the reproducing xfail test(s): https://github.com/databricks/databricks-driver-test/pull/1212
- Lingua principale
- TypeScript
- Stelle
- 36
- Fork
- 50
- Merge medio
- 13h 46m
- PR unite (30g)
- 9
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databricks/databricks-sql-nodejs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Docs folder deleted in 1.8.4 Apertaengineer-bot
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
databricks/databricks-sql-nodejs#274 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di databricks/databricks-sql-nodejs
Issue simili
-
S: triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
snapshot-labs/stamp#666 ·
-
fix(api): prevent leaderboard SSE heartbeat from starting after disconnect during initial load Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GauravKarakoti/SecureFlow#1070 · 1 commento ·
-
feature:Languages/Translations good first issue ready Web
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
digitalfabrik/integreat-app#4394 ·