-
Notifications
You must be signed in to change notification settings - Fork 33
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
base: develop
Are you sure you want to change the base?
Conversation
|
||
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, |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
let inner = buffer | ||
.into_inner() | ||
.bit_slice(buffer_byte_offset, buffer_len); | ||
let inner = buffer.into_inner().bit_slice(buffer_offset, buffer_len); |
There was a problem hiding this comment.
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.
including the pyo3 version bump (#2270 and #2042)