[coverage] Conformance findings: DATATYPE-041,STATEMENT-023

Aperta
#470 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
sql, typescript
Ambito
api, backend, databases

Direzione di ricerca

Inizia con i test di expected failure DATATYPE-041 e STATEMENT-023 nella coverage PR, quindi confronta il comportamento con la PR di riferimento databricks-sql-go. Il lavoro è completo quando il driver Node.js segnala STRING per la colonna NULL senza tipo e restituisce il conteggio delle righe interessate per l’INSERT di 3 righe e l’UPDATE di 2 righe tramite il backend SEA.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

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.

  • DATATYPE-041: SEA backend reports an untyped NULL (VOID) column as TTypeId 16 (NULL) instead of the server-reported STRING type; the same query on Thrift correctly reports STRING, so the column type a caller sees depends on the transport
  • STATEMENT-023: SEA backend reports no affected-row count for real DML (numModifiedRows absent for a 3-row INSERT and a 2-row UPDATE) while Thrift reports 3 and 2; absent is returned for every statement alike, so a caller cannot distinguish a real modified-row count from "no count available"

Reference driver PR: https://github.com/databricks/databricks-sql-go/pull/416
Coverage PR (reproducing xfail tests): https://github.com/databricks/databricks-driver-test/pull/1010

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di databricks/databricks-sql-nodejs

Tutte le issue di databricks/databricks-sql-nodejs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.