Skip to content

[AURON #2301] Upgrade hashbrown to 0.17.1 and adapt API#2302

Merged
merrily01 merged 3 commits into
apache:masterfrom
cxzl25:auron_2301
Jun 8, 2026
Merged

[AURON #2301] Upgrade hashbrown to 0.17.1 and adapt API#2302
merrily01 merged 3 commits into
apache:masterfrom
cxzl25:auron_2301

Conversation

@cxzl25
Copy link
Copy Markdown
Contributor

@cxzl25 cxzl25 commented Jun 3, 2026

Which issue does this PR close?

Closes #2301

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

How was this patch tested?

GHA

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the Rust dependency hashbrown from 0.14.5 to 0.17.1 and updates the AccSet implementation to use the newer hash table API in the native DataFusion extension plans.

Changes:

  • Bumped hashbrown crate version to 0.17.1 (and updated the lockfile accordingly).
  • Replaced hashbrown::raw::RawTable usage with hashbrown::HashTable and adapted insertion/find logic.
  • Removed prior unsafe insertion flow (insert_in_slot) in favor of the newer safe insert_unique workflow guarded by an explicit find.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
native-engine/datafusion-ext-plans/src/agg/collect.rs Adapts internal set implementation from RawTable to HashTable and updates uniqueness-check/insertion logic.
Cargo.toml Updates hashbrown dependency version to 0.17.1.
Cargo.lock Locks hashbrown to 0.17.1 and records new transitive dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread native-engine/datafusion-ext-plans/src/agg/collect.rs Outdated
cxzl25 and others added 2 commits June 3, 2026 16:20
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@merrily01 merrily01 merged commit 539d175 into apache:master Jun 8, 2026
123 checks passed
@merrily01
Copy link
Copy Markdown
Member

Merged.

@cxzl25 Thanks for the contribution!
@richox @SteNicholas @yew1eb Thanks for the review!

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.

Bump hashbrown from 0.14.5 to 0.17.1

6 participants