Skip to content
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

Avoid materializing local varaibles when creating sortMergeJoinExec #4566

Merged
merged 2 commits into from
Dec 10, 2022

Conversation

HaoYang670
Copy link
Contributor

@HaoYang670 HaoYang670 commented Dec 9, 2022

Which issue does this PR close?

None.

Rationale for this change

What changes are included in this PR?

Remove the local variable left_expr and right_expr to reduce memory usage and avoid iterating twice.

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: remzi <[email protected]>
Signed-off-by: remzi <[email protected]>
@github-actions github-actions bot added the core Core DataFusion crate label Dec 9, 2022
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks line a nice cleanup to me -- thank you @HaoYang670

@alamb alamb merged commit 2a9009e into apache:master Dec 10, 2022
@HaoYang670 HaoYang670 deleted the avoid_materializing branch December 10, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants