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

Upgrade to arrow 54 and datafusion 45 #2271

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

Conversation

AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Feb 7, 2025

including the pyo3 version bump (#2270 and #2042)

@AdamGS AdamGS requested a review from lwwmanning February 7, 2025 17:11

Self::try_from_parts(
DType::Bool(validity.nullability()),
buffer_len,
RkyvMetadata(BoolMetadata {
validity: validity.to_metadata(buffer_len)?,
first_byte_bit_offset,
first_byte_bit_offset: 0,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we want to break it here?

@@ -83,8 +83,7 @@ impl BoolArray {
/// otherwise a copy is created.
Copy link
Contributor Author

@AdamGS AdamGS Feb 7, 2025

Choose a reason for hiding this comment

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

There are a bunch of changes in this file that are due to a change in arrow. We can try and make sure we always make shallow copies, I'll try to add that later today/next week.

@AdamGS AdamGS requested a review from robert3005 February 7, 2025 18:09
let inner = buffer
.into_inner()
.bit_slice(buffer_byte_offset, buffer_len);
let inner = buffer.into_inner().bit_slice(buffer_offset, buffer_len);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

arrow changed the behavior of bit_slice in cases where the slicing is aligned, see my other comment.

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.

1 participant