Skip to content

fix(telemetry): attach error query ids to statement events - #296

Merged
jay-xiao446 merged 1 commit into
mainfrom
jay-xiao446/fix/telemetry-error-query-id
Aug 28, 2026
Merged

jay-xiao446 merged 1 commit into
mainfrom
jay-xiao446/fix/telemetry-error-query-id

Conversation

@jay-xiao446

@jay-xiao446 jay-xiao446 commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Populate statement telemetry context from KernelError.query_id when a terminal server error arrives before on_statement_submitted runs.
  • Cover sync execute failure telemetry so sql_statement_id is present on the error event.

Stack

Validation

  • cargo +stable fmt --all -- --check
  • cargo test telemetry --lib --locked

Signed-off-by: Jay Xiao <jay.xiao@databricks.com>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No issues identified by the review bot.

@jay-xiao446
jay-xiao446 enabled auto-merge August 28, 2026 16:58
@jay-xiao446
jay-xiao446 added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit 119e9f7 Aug 28, 2026
18 checks passed

This branch was previously deployed

1 inactive deployment
azure-prod — 04acbb77 Deployed Aug 28, 2026 by jay-xiao446 via v0 E2E surface #637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants