-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-26226][SQL] Update query tracker to report timeline for phases #23183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #99479 has finished for PR 23183 at commit
|
|
Test build #99481 has finished for PR 23183 at commit
|
|
Test build #99487 has finished for PR 23183 at commit
|
|
Test build #99500 has finished for PR 23183 at commit
|
|
retest this please |
|
Test build #99503 has finished for PR 23183 at commit
|
|
Test build #99516 has finished for PR 23183 at commit
|
| def durationMs: Long = endTimeMs - startTimeMs | ||
|
|
||
| override def toString: String = { | ||
| s"PhaseSummary($startTimeMs, $endTimeMs)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also include the duration in toString?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so for actual debugging this is not needed right?
|
LGTM Thanks! Merged to master. |
## What changes were proposed in this pull request? This patch changes the query plan tracker added earlier to report phase timeline, rather than just a duration for each phase. This way, we can easily find time that's unaccounted for. ## How was this patch tested? Updated test cases to reflect that. Closes apache#23183 from rxin/SPARK-26226. Authored-by: Reynold Xin <[email protected]> Signed-off-by: gatorsmile <[email protected]>
What changes were proposed in this pull request?
This patch changes the query plan tracker added earlier to report phase timeline, rather than just a duration for each phase. This way, we can easily find time that's unaccounted for.
How was this patch tested?
Updated test cases to reflect that.