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

refactor(hash_join): Move JoinHashMap to separate mod #15419

Merged
merged 2 commits into from
Mar 26, 2025

Conversation

ctsk
Copy link
Contributor

@ctsk ctsk commented Mar 25, 2025

Rationale for this change

The JoinHashMap implementation is a large part of the joins::utils module and fully self-contained. I think it makes sense to make it its own module.

What changes are included in this PR?

  • Move JoinHashMap into its own module
  • Reexport JoinHashMap and JoinHashMapType from joins::utils for backwards compatibility

Are these changes tested?

Covered by existing tests.

Are there any user-facing changes?

No.

@ctsk ctsk force-pushed the refactor/join_hash_map branch from b3623b4 to cd8f90c Compare March 25, 2025 13:19
Copy link
Member

@Weijun-H Weijun-H left a comment

Choose a reason for hiding this comment

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

I don’t mind this refactoring; it improves readability.

Co-authored-by: Alex Huang <huangweijun1001@gmail.com>
@alamb
Copy link
Contributor

alamb commented Mar 25, 2025

Looks good to me too -- thank you @ctsk and @Weijun-H

FYI @comphead and @Dandandan

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

Thanks @ctsk I think it makes sense to avoid bloated utils crate

@alamb alamb merged commit 6ccad40 into apache:main Mar 26, 2025
27 checks passed
@alamb
Copy link
Contributor

alamb commented Mar 26, 2025

🚀

qstommyshu pushed a commit to qstommyshu/datafusion that referenced this pull request Mar 27, 2025
* refactor(hash_join): Move JoinHashMap to separate mod

* Add description to join_hash_map module

Co-authored-by: Alex Huang <huangweijun1001@gmail.com>

---------

Co-authored-by: Alex Huang <huangweijun1001@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants