Skip to content

Databricks SQL Addition OTX Queries - #2125

Merged
zaynahsmith-dasilva merged 2 commits into
developfrom
databricks-queries-otx
Jul 7, 2026
Merged

zaynahsmith-dasilva merged 2 commits into
developfrom
databricks-queries-otx

Conversation

@zaynahsmith-dasilva

Copy link
Copy Markdown
Contributor

Background

Changes

  • Added a databricks sql YAML key to the existing SQL queries within the OTX log type.

Testing

@zaynahsmith-dasilva
zaynahsmith-dasilva requested review from a team as code owners July 2, 2026 16:37
@zaynahsmith-dasilva zaynahsmith-dasilva added the tuning detection tuning label Jul 2, 2026
@cursor

cursor Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Low risk because this only updates saved query YAML definitions and adds engine-specific SQL variants without changing runtime application logic.

Overview
Adds DatabricksQuery support to the OTX high-impact pulses and pulses summary saved queries.

The existing generic Query definitions are renamed to SnowflakeQuery, and equivalent Databricks SQL is added using Databricks-compatible array aggregation and sizing functions such as COLLECT_SET, ARRAY_SORT, and SIZE.

Reviewed by Cursor Bugbot for commit 31033ab. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2d7bd0b. Configure here.

Comment thread queries/otx_queries/otx_high_impact_pulses.yml
@zaynahsmith-dasilva
zaynahsmith-dasilva added this pull request to the merge queue Jul 7, 2026
Merged via the queue into develop with commit 70dc973 Jul 7, 2026
19 checks passed
@zaynahsmith-dasilva
zaynahsmith-dasilva deleted the databricks-queries-otx branch July 7, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tuning detection tuning

2 participants