-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-30315][SQL] Add adaptive execution context #26959
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 #115601 has finished for PR 26959 at commit
|
|
retest this please |
| case class AdaptiveSparkPlanExec( | ||
| initialPlan: SparkPlan, | ||
| @transient session: SparkSession, | ||
| @transient adaptiveExecutionContext: AdaptiveExecutionContext, |
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.
for simplicity, we can just name it context.
|
Test build #115619 has finished for PR 26959 at commit
|
|
retest it please |
|
Test build #116282 has finished for PR 26959 at commit
|
|
retest this please |
|
Test build #116293 has finished for PR 26959 at commit
|
|
retest this please |
|
Test build #116306 has finished for PR 26959 at commit
|
|
Test build #116315 has finished for PR 26959 at commit
|
gatorsmile
left a comment
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.
Thanks! Merged to master.
What changes were proposed in this pull request?
This is a minor code refactoring PR. It creates an adaptive execution context class to wrap objects shared across main query and sub-queries.
Why are the changes needed?
This refactoring will improve code readability and reduce the number of parameters used to initialize
AdaptiveSparkPlanExec.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Passed existing UTs.