Trino Query Control Center#60
Open
gowthamrajj wants to merge 9 commits into
Open
Conversation
… and triaging Trino queries, replacing the Query View.
…r copy. add delete all for history tab queries.
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
DJ: Query Control Center) — a master-detail panel that replaces the Query View for inspecting and triaging Trino queries. A Live tab (queries from your active coordinator, or the local Trino CLI when no profile is set, with a "dbt runs only" filter) and a History tab both support search, state, and user/source filtering. Selecting a query shows its summary, stage tree, slowest operators, failure details, and SQL, plus Jump to Model (opens the matching.model.json) and Analyze with AI, which saves sanitized JSON under.dj/diagnostics/so analyzed queries reopen even after the coordinator evicts them (~15 min).dj.trino.profilesanddj.trino.activeProfiledefine coordinator profiles (dev / staging / prod) you switch from the panel orDJ: Select Trino Connection Profile.... Each profile resolves its secret at request time from VS Code SecretStorage (set viaDJ: Set Trino Credentials...), an environment variable, a password file, or your~/.dbt/profiles.yml— never plain text in settings — and the panel shows a coordinator status indicator with one-click refresh for expired tokens.dj-trino-analyzeragent skill (.agents/skills/dj-trino-analyzer/SKILL.md, written whendj.codingAgentis on) gives a coding agent operator-level heuristics for diagnosing slow or failed Trino queries from the sanitized JSON. The sanitizer doubles as a tool firewall: payloads containing row data are rejected before they reach disk, so customer data never reaches an LLM prompt.