Skip to content

[coverage] Conformance findings: TELEMETRY-002 #658

Description

@peco-engineer-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions