[SPARK-56048][UI] Add copy plan text and share link buttons to SQL execution page#54886
[SPARK-56048][UI] Add copy plan text and share link buttons to SQL execution page#54886yaooqinn wants to merge 1 commit intoapache:masterfrom
Conversation
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @yaooqinn .
|
ditto BTW, are you going to use your personal message instead of complying the Apache Spark Pull Request template, @yaooqinn ?
I'm not sure why the Copilot ignores the pull request template, but when I ask
spark/.github/PULL_REQUEST_TEMPLATE Lines 55 to 56 in ca60558 |
…ecution page Add two buttons next to the existing Download button on the SQL execution detail page: - 'Copy Plan' — copies the physical plan text to clipboard - 'Copy Link' — copies the current page URL to clipboard Both use navigator.clipboard.writeText and show a toast notification on success (via the existing showToast helper from SPARK-55769). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Merged to master, thank you @dongjoon-hyun |


What changes were proposed in this pull request?
Add two buttons next to the existing Download button on the SQL execution detail page:
Both use
navigator.clipboard.writeTextand show a toast notification on success.Why are the changes needed?
When debugging query performance, users frequently need to share the physical plan or page link via Slack/JIRA/email. Currently they must manually select text or copy the URL bar. One-click buttons improve this workflow.
Does this PR introduce any user-facing change?
Yes — two new buttons on the SQL execution detail page.
How was this patch tested?
Compilation verified. Manual testing.
Was this patch authored or co-authored using generative AI tooling?
Yes, Generated-by: GitHub Copilot(claude-opus-4.6-1m).