[coverage] Conformance findings: FEATUREFLAG-001
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
The bug is in the SEA backend's connect path, which requests /api/2.0/connector-service/feature-flags/GOLANG/<ver> even when telemetry is disabled. Find where that request is issued during connection setup, and run TestNoFeatureFlagRequestWhenFlagsAreUnconsumed from the coverage PR under tests/ to see the failure. Done when that test passes and the Thrift path still issues no flag requests. Reference PR 496 in databricks-sql-go-adjacent driver work shows the intended behavior, but it is a different repo.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- FEATUREFLAG-001 [sea]: SEA/kernel backend fetches connector-service feature flags (GET /api/2.0/connector-service/feature-flags/GOLANG/) during connect even when telemetry — the only in-driver flag consumer — is disabled, so an unconsumed flag context costs an extra control-plane request per connection; the Thrift path correctly issues none
- failing test:
TestNoFeatureFlagRequestWhenFlagsAreUnconsumed(see the coverage PR diff undertests/)
- failing test:
Reproduce & Expected
FEATUREFLAG-001 — Opens a proxied connection with telemetry explicitly disabled and runs SELECT 1.
Reproduce:
SELECT 1 AS value
Expected (per the shared spec):
- result has exactly 1 row(s)
- col 0, row 0 == 1 (type Int32)
- full assertion contract:
result:
- row_count: 1
- column:
index: 0
row: 0
type: Int32
equals: 1
protocol:
thrift:
- http_request_count:
path_prefix: /api/2.0/connector-service/feature-flags/
expected: 0
sea:
- http_request_count:
path_prefix: /api/2.0/connector-service/feature-flags/
expected: 0
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/databricks/databricks-sql-go/pull/496 — 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/1820
- Vorherrschende Sprache
- Go
- Sterne
- 53
- Forks
- 68
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 8
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus databricks/databricks-sql-go
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
databricks/databricks-sql-go#494 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
databricks/databricks-sql-go#490 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
databricks/databricks-sql-go#481 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
databricks/databricks-sql-go#480 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
databricks/databricks-sql-go#475 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in databricks/databricks-sql-go
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
area: watch bug priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
mariadb-operator/mariadb-operator#1962 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
eugenioenko/ttt#919 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag