[SPARK-55878][UI] Add Job Timeline to SQL execution detail page#55050
Open
yaooqinn wants to merge 1 commit intoapache:masterfrom
Open
[SPARK-55878][UI] Add Job Timeline to SQL execution detail page#55050yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn wants to merge 1 commit intoapache:masterfrom
Conversation
pan3793
previously requested changes
Mar 27, 2026
Member
pan3793
left a comment
There was a problem hiding this comment.
add a switch for this feature (either using spark.ui.timelineEnabled introduced by SPARK-39440 or a new one is fine), beacuse timeline panel might be time consuming -this was observered at least in Job page and Stage Details page.
Add a vis-timeline Gantt chart showing job start/end times within a SQL execution. Reuses the existing drawApplicationTimeline function and vis-timeline library from the Jobs page. Features: - Shows each job as a colored bar (green=succeeded, red=failed, blue=running) - Tooltip with job description, status, and duration on hover - Click job bar to navigate to job detail page - Collapsible with expand/collapse toggle (same as Jobs page Event Timeline) - Zoom lock checkbox for timeline navigation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
Author
|
@pan3793 added, although we have limited jobs on a single query |
Member
Author
dongjoon-hyun
approved these changes
Mar 27, 2026
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @yaooqinn .
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.

What changes were proposed in this pull request?
Add a vis-timeline Gantt chart to the SQL execution detail page showing job start/end times within a SQL execution.
drawApplicationTimelinefunction and vis-timeline libraryWhy are the changes needed?
Understanding job-level parallelism and sequencing within a SQL execution is important for performance analysis. The timeline shows which jobs ran in parallel, where there were idle gaps, and which job was the longest-running bottleneck.
Does this PR introduce any user-facing change?
Yes — new "Job Timeline" section on the SQL execution detail page.
How was this patch tested?
Manual testing with TPC-DS SF100 queries. Screenshot verified.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: GitHub Copilot (Claude Opus 4.6)