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

Cherry PR snapshot: Fix panic when hashing empty FixedSizeList Array #76

Conversation

findepi
Copy link
Collaborator

@findepi findepi commented Nov 23, 2024

Previously it would panic due to division by zero.

Copy of apache#13533 with additional cherry picks and fixes to get the build green.

drauschenbach and others added 3 commits November 25, 2024 23:02
* Unite all references to hashbrown::HashMap by using a common type definition

* Replace some use of std::collections::HashMap with hashbrown::HashMap

* Replace some use of std::collections::HashMap with hashbrown::HashMap

* Replace some use of std::collections::HashMap with hashbrown::HashMap

* Unite all references to hashbrown::HashSet by using a common type definition

* Replace some use of std::collections::HashSet with hashbrown::HashSet
* Fix record batch memory size double counting
Previously it would panic due to division by zero.
@findepi findepi force-pushed the findepi/sdf/43/cherry-pr-snapshot-fix-panic-when-hashing-empty-fixedsizelist-array-dda22e branch from a8932fa to c05d38f Compare November 25, 2024 22:04
Probably due to the fact that DF doesn't commit cargo.lock, the release
state is not reproducible. We're likely pulling in a newer Arrow
version, which has the bit_length limitation fixed.
This reverts the `Github actions: peg Rust version to 1.82 (#75)`
commit because it broke the CI build.
@findepi
Copy link
Collaborator Author

findepi commented Nov 26, 2024

@sadboy @vgapeyev @milevin can you please review?

@findepi findepi merged commit 2d5fe9d into sdf/43 Nov 26, 2024
46 checks passed
@findepi findepi deleted the findepi/sdf/43/cherry-pr-snapshot-fix-panic-when-hashing-empty-fixedsizelist-array-dda22e branch November 26, 2024 20:52
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.

4 participants