Skip to content

Label SQL queries from the controller console - #19697

Merged
xiangfu0 merged 1 commit into
apache:masterfrom
xiangfu0:xiangfu0/codex1/query-console-source
Sep 29, 2026
Merged

xiangfu0 merged 1 commit into
apache:masterfrom
xiangfu0:xiangfu0/codex1/query-console-source

Conversation

@xiangfu0

@xiangfu0 xiangfu0 commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

The controller SQL console now sends applicationName=pinot-controller-console so query logs can identify browser-console traffic.
Run a query in the console and inspect queryOptions.applicationName; an explicit SET applicationName still takes precedence.
Validation: UI build and scoped Spotless, Checkstyle, and license checks passed. Rollout: check target cluster application quotas because labeling formerly unlabeled console traffic can cause quota rejections when a default or named quota is configured.

The query console now sends a stable applicationName with each SQL request. Explicit SQL application options still take precedence.
@xiangfu0
xiangfu0 marked this pull request as ready for review September 28, 2026 19:38
@codecov-commenter

codecov-commenter commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.08%. Comparing base (a3af29e) to head (211274d).

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #19697      +/-   ##
============================================
+ Coverage     68.07%   68.08%   +0.01%     
  Complexity     1450     1450              
============================================
  Files          3518     3518              
  Lines        228478   228478              
  Branches      36201    36201              
============================================
+ Hits         155540   155565      +25     
+ Misses        60731    60695      -36     
- Partials      12207    12218      +11     
Flag Coverage Δ
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-25 68.08% <ø> (+0.01%) ⬆️
lane-a 100.00% <ø> (ø)
lane-b 0.00% <ø> (ø)
temurin 68.08% <ø> (+0.01%) ⬆️
unittests 68.08% <ø> (+0.01%) ⬆️
unittests1 58.10% <ø> (-0.01%) ⬇️
unittests2 39.77% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xiangfu0 xiangfu0 added user-experience Related to user experience query Related to query processing labels Sep 28, 2026
@xiangfu0
xiangfu0 merged commit 2cd9a2f into apache:master Sep 29, 2026
17 of 19 checks passed
@xiangfu0
xiangfu0 deleted the xiangfu0/codex1/query-console-source branch September 29, 2026 04:23
xiangfu0 added a commit to pinot-contrib/pinot-docs that referenced this pull request Sep 29, 2026
Documents the default application name used by controller Query Console
SQL requests, explicit SET precedence, and the quota rollout
consideration. Follows apache/pinot#19697.

Co-authored-by: Xiang Fu <xiangfu@Xiang-mac-mtv-2.local>
@xiangfu0

Copy link
Copy Markdown
Contributor Author

Documentation follow-up: pinot-contrib/pinot-docs#1075 (merged). This covers the Query Console application name, explicit SET precedence, and application-quota rollout consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

query Related to query processing user-experience Related to user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants