Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[coverage] Conformance findings: TELEMETRY-001,TELEMETRY-005

Đang mở
#454 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
backend, observability

Hướng nghiên cứu

Bắt đầu với kiểu telemetry.SQLExecutionEvent của driver và kiểm tra các đường dẫn terminal statement và external-links. Sử dụng các kiểm thử xfail TestSuccessfulStatementExecutionEmitsTerminalOperationEvent và TestTelemetryReportsExternalLinksDeliveryAndCompression trong coverage PR làm tham chiếu về hành vi; hoàn thành nghĩa là cả hai kiểm thử đều đạt với statement_type và execution_result được báo cáo chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

  • TELEMETRY-001 [thrift]: terminal statement telemetry omits sql_operation.statement_type and sql_operation.execution_result; both fields exist in telemetry.SQLExecutionEvent but are never populated, so the backend cannot aggregate by statement classification or result-delivery shape
    • failing test: TestSuccessfulStatementExecutionEmitsTerminalOperationEvent (see the coverage PR diff under tests/)
  • TELEMETRY-005 [thrift]: telemetry for an external-links (CloudFetch) result omits sql_operation.execution_result even though the same event reports chunk_details download bookkeeping, so EXTERNAL_LINKS vs INLINE_ARROW delivery shape is unreportable
    • failing test: TestTelemetryReportsExternalLinksDeliveryAndCompression (see the coverage PR diff under tests/)
  • TELEMETRY-001: terminal statement telemetry omits sql_operation.statement_type and sql_operation.execution_result; both fields exist in the driver's telemetry.SQLExecutionEvent type but are never populated, so the backend cannot aggregate by statement classification or result-delivery shape

Context

Ngôn ngữ chính
Go
Star
53
Fork
68
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của databricks/databricks-sql-go

Tất cả issue của databricks/databricks-sql-go

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.