[coverage] Conformance findings: DATATYPE-041
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
Inizia con il percorso di conversione testuale di DECIMAL in databricks/databricks-sql-go e con il test TestDecimalTextRenderingWithoutScientificNotation descritto nella PR di coverage sotto tests/. Confronta il comportamento con il contratto condiviso DATATYPE-041 e la PR di riferimento 134. Il lavoro è completato quando il test xfail passa e tutti i valori elencati vengono rappresentati in notazione semplice con la scala dichiarata.
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-go. 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-go) is fixed, then flips green as a tripwire.
Findings
- DATATYPE-041 [thrift]: DECIMAL text rendering falls back to scientific notation for sub-1 high-scale values: DECIMAL(20,7) 0.0000001 is returned as the string "1E-7" instead of plain notation at the declared scale (PECOBLR-2096)
- failing test:
TestDecimalTextRenderingWithoutScientificNotation(see the coverage PR diff undertests/)
- failing test:
- DATATYPE-041: DECIMAL text rendering falls back to scientific notation for sub-1 high-scale values: DECIMAL(20,7) 0.0000001 is returned as the string "1E-7" instead of plain notation at the declared scale, so a consumer reading the column as text parses a wrong or unparseable value (PECOBLR-2096)
Reproduce & Expected
DATATYPE-041 — Verify that when a driver renders a DECIMAL column as text, the rendering is PLAIN decimal notation carrying the column's declared scale -- never scientific notation, never a re-scaled or truncated m…
Expected (per the shared spec):
- result has exactly 1 row(s)
- col
zero_scaled, row 0 == 0 - col
sub_one, row 0 == 0.5 - col
neg_sub_one, row 0 == -0.05 - col
sub_one_high_scale, row 0 == 1e-07 - col
trailing_zeros, row 0 == 100.0 - col
wide_magnitude, row 0 == 1.2345678901234568e+26 - full assertion contract:
result:
- row_count: 1
- column:
name: zero_scaled
equals: 0
- column:
name: sub_one
equals: 0.5
- column:
name: neg_sub_one
equals: -0.05
- column:
name: sub_one_high_scale
equals: 1.0e-07
- column:
name: trailing_zeros
equals: 100.0
- column:
name: wide_magnitude
equals: 1.2345678901234568e+26
- decimal_text_plain_notation:
columns:
- zero_scaled
- sub_one
- neg_sub_one
- sub_one_high_scale
- trailing_zeros
- wide_magnitude
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/databricks/databricks-odbc/pull/134 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-go; 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/1138
- Lingua principale
- Go
- Stelle
- 53
- Fork
- 68
- Merge medio
- 1g 2h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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-go
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
databricks/databricks-sql-go#494 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
databricks/databricks-sql-go#490 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
databricks/databricks-sql-go#481 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
databricks/databricks-sql-go#480 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
databricks/databricks-sql-go#475 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di databricks/databricks-sql-go
Issue simili
-
component/gpu-kubelet-plugin component/helm needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
kubernetes-sigs/dra-driver-nvidia-gpu#1559 ·
I maintainer di solito rispondono entro 1 giorno
-
TOTP enrollment returns 500 for phone-only users (empty TOTP account name)Forse già presa @emiliosandoval4 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
8.9 to 8.10 Helm upgrade guide still says deprecated keys are removed in chart v16 (Camunda 8.11)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
camunda/camunda-platform-helm#7559 ·
I maintainer di solito rispondono entro 1 giorno
-
docs: namespaceRegexes example teaches prefix matching, but regexes are matched as a substringForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertatriage/pending-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
external-secrets/external-secrets#7117 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ENTERPILOT/GoModel#1183 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno