Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against adbc-drivers/databricks. 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 (adbc-drivers/databricks) is fixed, then flips green as a tripwire.
Findings
- TELEMETRY-002 [thrift]: Abandoned (unread, disposed) result set stamps result_set_consumption_latency_millis in the terminal EXECUTE_STATEMENT telemetry record: DatabricksStatement.EmitTelemetry calls ctx.RecordResultsConsumed() unconditionally, so caller think-time from statement start to handle release is reported as consumption latency; the field should be absent when the stream was never consumed
- failing test:
AbandonedResultSetStillFinalizesStatementTelemetry (see the coverage PR diff under tests/)
- TELEMETRY-002: Abandoned (unread, disposed) result set stamps result_set_consumption_latency_millis in the terminal EXECUTE_STATEMENT telemetry record: DatabricksStatement.EmitTelemetry calls ctx.RecordResultsConsumed() unconditionally, so caller think-time from statement start to handle release is reported as consumption latency, skewing that metric's aggregates; the field should be absent when the stream was never consumed
Context
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against adbc-drivers/databricks. 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 (adbc-drivers/databricks) is fixed, then flips green as a tripwire.
Findings
AbandonedResultSetStillFinalizesStatementTelemetry(see the coverage PR diff undertests/)Context