-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add progress bar support for fault tolerant execution #12275
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -618,7 +618,7 @@ private QueryStats getQueryStats(Optional<StageInfo> rootStage, List<StageInfo> | |
|
|
||
| boolean isScheduled = rootStage.isPresent() && allStages.stream() | ||
| .map(StageInfo::getState) | ||
| .allMatch(state -> state == StageState.RUNNING || state == StageState.PENDING || state.isDone()); | ||
| .anyMatch(state -> state == StageState.RUNNING || state == StageState.PENDING || state.isDone()); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how does it impact progress bar rendering for non-fault tolerant execution? Does it impact anything else than progress bar rendering?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked all text occurrences of
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would recommend to refrain from changing the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would argue that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For a single stage the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then for fault tolerant execution, it's not scheduled until the last stage executes, which doesn't make sense. Plus,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you think we can simply rename it? |
||
|
|
||
| return new QueryStats( | ||
| queryStateTimer.getCreateTime(), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.