[coverage] Conformance findings: SESSION-017
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 tests/ 下 coverage PR diff 中的 TestTelemetryEnablementPropertyIsHonoredAndOptional 开始,然后追踪 Go 驱动程序的 DSN 解析以及连接时对 telemetry 属性的处理。确认驱动程序自身对 EnableTelemetry 的拼写。完成的标准是:格式错误的值允许连接打开,保留默认值,并产生指定的警告诊断;同时,有效值和缺失值仍能正常工作。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Go
- 星标
- 53
- 派生
- 67
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
databricks/databricks-sql-go 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
databricks/databricks-sql-go#494 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 64/100
databricks/databricks-sql-go#490 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
databricks/databricks-sql-go#480 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
databricks/databricks-sql-go#475 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
databricks/databricks-sql-go#474 ·
维护者通常 1 天内回复
查看 databricks/databricks-sql-go 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Add Solenta可能已有人在做 @sharmao07 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
slavakurilyak/awesome-ai-agents#760 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
agent-review-finding bug
难度 2/5 1-3 小时 新手友好度 68/100
jordansmall/spindrift#5281 ·
维护者通常 1 天内回复