Skip to content

Conversation

@juliuszsompolski
Copy link
Contributor

What changes were proposed in this pull request?

Minor refactor - make AdaptiveSparkPlanHelper.allChildren protected in place of private, so that we don't have to copy it over, risking that the two versions will get out of sync.

Why are the changes needed?

Minor refactor.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI

@juliuszsompolski
Copy link
Contributor Author

cc @HyukjinKwon @xuanyuanking this is a tiny followup to code that got refactored in #41315. It could be considered for branch-3.5 to keep the two in sync?

@juliuszsompolski juliuszsompolski changed the title [SPARK-43755][FOLLOWUP] Open AdaptiveSparkPlanHelper.allChildren instead of copying [SPARK-43755][CONNECT][FOLLOWUP] Open AdaptiveSparkPlanHelper.allChildren instead of using copy in MetricGenerator Jul 18, 2023
@juliuszsompolski juliuszsompolski changed the title [SPARK-43755][CONNECT][FOLLOWUP] Open AdaptiveSparkPlanHelper.allChildren instead of using copy in MetricGenerator [SPARK-43755][CONNECT][MINOR] Open AdaptiveSparkPlanHelper.allChildren instead of using copy in MetricGenerator Jul 18, 2023
@HyukjinKwon
Copy link
Member

Merged to master and branch-3.5.

HyukjinKwon pushed a commit that referenced this pull request Jul 19, 2023
…en` instead of using copy in `MetricGenerator`

### What changes were proposed in this pull request?

Minor refactor - make `AdaptiveSparkPlanHelper.allChildren` protected in place of private, so that we don't have to copy it over, risking that the two versions will get out of sync.

### Why are the changes needed?

Minor refactor.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

CI

Closes #42060 from juliuszsompolski/SPARK-43755-fup.

Authored-by: Juliusz Sompolski <julek@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 227e28c)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants