[coverage] Conformance findings: DATATYPE-041
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
Línea de trabajo
Comienza con la ruta de conversión de texto de DECIMAL en databricks/databricks-sql-go y con el test TestDecimalTextRenderingWithoutScientificNotation descrito en el PR de cobertura bajo tests/. Compara el comportamiento con el contrato compartido DATATYPE-041 y el PR de referencia 134. Se considera terminado cuando el test xfail pasa y todos los valores indicados se representan en notación simple con su escala declarada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Go
- Estrellas
- 53
- Forks
- 68
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de databricks/databricks-sql-go
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
databricks/databricks-sql-go#494 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
databricks/databricks-sql-go#499 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 64/100
databricks/databricks-sql-go#490 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
databricks/databricks-sql-go#481 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
databricks/databricks-sql-go#480 ·
Los mantenedores suelen responder en 1 día
Todos los issues de databricks/databricks-sql-go
Issues similares
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
kubernetes-sigs/kueue#17385 ·
Los mantenedores suelen responder en 1 día
-
Tablet Pods keep only one of several topology spread constraints that share a label selectorPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
planetscale/vitess-operator#858 ·
Los mantenedores suelen responder en 2 días
-
Realtime: ASR EOU language tags leak into the LLM conversation (unintended reply-language switching)Posiblemente ocupada @nexxtmobile la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
content:edit documentation effort:high
Dificultad 1/5 1-3 horas Aptitud para principiantes 67/100
cloudflare/cloudflare-docs#34428 ·
Los mantenedores suelen responder en 1 día
-
generate: duplicate-skill warning ignores lint.allow_overrides when a local skill shadows a builtinAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día