[coverage] Conformance findings: SESSION-017
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Comienza con TestTelemetryEnablementPropertyIsHonoredAndOptional en el diff del PR de cobertura bajo tests/ y, a continuación, sigue el análisis del DSN del controlador Go y el manejo de la propiedad de telemetría al establecer la conexión. Confirma la ortografía que usa el propio controlador para EnableTelemetry. Se considera terminado cuando los valores malformados permiten abrir la conexión, conservan el valor predeterminado y producen el diagnóstico de advertencia especificado, mientras que los valores válidos y ausentes siguen funcionando.
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
- SESSION-017 [thrift]: A malformed enableTelemetry DSN value is fatal: ParseDSN rejects the entire DSN (strconv.ParseBool error) so the connection never opens, instead of leaving the telemetry overlay default untouched and diagnosing the typo
- failing test:
TestTelemetryEnablementPropertyIsHonoredAndOptional(see the coverage PR diff undertests/)
- failing test:
Reproduce & Expected
SESSION-017 — Validates the connect-time contract of the driver's telemetry-enablement connection property (reference ODBC key EnableTelemetry; map to the driver's own spelling for the SAME concept, e.g.
Reproduce:
SELECT 1 AS value
SELECT 1 AS value
SELECT 1 AS value
SELECT 1 AS value
Expected (per the shared spec):
- completes without an exception
- result has exactly 1 row(s)
- col 0 is named
value - completes without an exception
- result has exactly 1 row(s)
- completes without an exception
- result has exactly 1 row(s)
- completes without an exception
- result has exactly 1 row(s)
- full assertion contract:
result:
- label: opt_in
no_exception: true
- label: opt_in
row_count: 1
- label: opt_in
column:
index: 0
name: value
- label: opt_in
warning_diagnostic:
mentions: EnableTelemetry
present: false
- label: opt_out
no_exception: true
- label: opt_out
row_count: 1
- label: opt_out
warning_diagnostic:
mentions: EnableTelemetry
present: false
- label: malformed
no_exception: true
- label: malformed
row_count: 1
- label: malformed
warning_diagnostic:
mentions: EnableTelemetry
present: true
sql_state: 01S02
- label: absent
no_exception: true
- label: absent
row_count: 1
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/databricks/databricks-odbc/pull/333 — 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/1641
- Lenguaje dominante
- Go
- Estrellas
- 53
- Forks
- 66
- Merge medio
- 7 h 57 min
- PR fusionados (30 d)
- 16
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 76/100
databricks/databricks-sql-go#476 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
databricks/databricks-sql-go#480 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
databricks/databricks-sql-go#475 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
databricks/databricks-sql-go#474 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 62/100
databricks/databricks-sql-go#473 ·
Todos los issues de databricks/databricks-sql-go
Issues similares
-
bug github_actions
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
registrystack/registry-stack#1393 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
JakeChampion/lang#10213 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100