Skip to content

[SPARK-42136] Refactor BroadcastHashJoinExec output partitioning calculation - #38038

Closed
peter-toth wants to merge 2 commits into
apache:masterfrom
peter-toth:SPARK-refactor-broadcasthashjoinexec-output-partitioning
Closed

[SPARK-42136] Refactor BroadcastHashJoinExec output partitioning calculation#38038
peter-toth wants to merge 2 commits into
apache:masterfrom
peter-toth:SPARK-refactor-broadcasthashjoinexec-output-partitioning

Conversation

@peter-toth

@peter-tothpeter-toth commented Sep 28, 2022

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This is PR refactors BroadcastHashJoinExec output partitioning calculation using the new TreeNode.multiTransformDown() helper so simplify code and improve performance.

Why are the changes needed?

Simpler code with TreeNode.multiTransform().

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

@peter-toth
peter-tothforce-pushed the SPARK-refactor-broadcasthashjoinexec-output-partitioning branch from ee15d1e to e49b90cCompareSeptember 28, 2022 18:41
@peter-toth
peter-tothforce-pushed the SPARK-refactor-broadcasthashjoinexec-output-partitioning branch from e49b90c to e656ae7CompareDecember 27, 2022 14:33
@peter-toth
peter-tothforce-pushed the SPARK-refactor-broadcasthashjoinexec-output-partitioning branch from e656ae7 to 89065f6CompareJanuary 20, 2023 16:18
@peter-tothpeter-toth changed the title [WIP][SQL] Refactor BroadcastHashJoinExec output partitioning calculation[SPARK-42136] Refactor BroadcastHashJoinExec output partitioning calculationJan 20, 2023
@peter-toth

Copy link
Copy Markdown
ContributorAuthor

cc @cloud-fan

@cloud-fan

cloud-fan commented Jan 31, 2023

Copy link
Copy Markdown
Contributor

is this PR still up to date?

@peter-toth

Copy link
Copy Markdown
ContributorAuthor

is this PR still up to date?

Yes, it is. This is a simple refactor to utilize multiTransform().

…136-refactor-broadcasthashjoinexec-output-partitioning
@peter-toth

Copy link
Copy Markdown
ContributorAuthor

I've just updated this PR with latest master, but it shouldn't make any differene.

@peter-toth

Copy link
Copy Markdown
ContributorAuthor

@cloud-fan, please let me know if anything is needed to get this merged.

@cloud-fan

Copy link
Copy Markdown
Contributor

thanks, merging to master!

@peter-toth

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@peter-toth@cloud-fan