Commit 6ab9428
committed
[SPARK-55880][UI] Link SQL plan metric stage IDs to stage detail page
### What changes were proposed in this pull request?
Make stage IDs in the SQL plan visualization metric detail panel clickable links to the corresponding stage detail page.
When the "Show Stage ID and Task ID" checkbox is enabled on the SQL execution page, each metric row in the side panel shows a Stage column. Previously this was plain text like `3.0`. Now it renders as a hyperlink to `/stages/stage/?id=3&attempt=0`.
### Why are the changes needed?
Navigating from a SQL plan node metric to the corresponding stage requires manually copying the stage ID and navigating to the Stages tab. A direct link improves workflow efficiency.
### Does this PR introduce _any_ user-facing change?
Yes — Stage IDs in the SQL plan metric detail panel are now clickable links.
### How was this patch tested?
Manual testing. The change is JS-only (no Scala changes).
### Was this patch authored or co-authored using generative AI tooling?
Yes, co-authored with GitHub Copilot.
Closes #54785 from yaooqinn/SPARK-55880.
Authored-by: Kent Yao <[email protected]>
Signed-off-by: Kent Yao <[email protected]>1 parent 81f2172 commit 6ab9428
File tree
1 file changed
+11
-2
lines changed- sql/core/src/main/resources/org/apache/spark/sql/execution/ui/static
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
394 | 403 | | |
395 | 404 | | |
396 | 405 | | |
| |||
0 commit comments