-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(rust): Impl serde for array dtype #13168
Conversation
self.arrays | ||
.push(NullArray::new(ArrowDataType::Null, self.width).boxed()); | ||
match &mut self.validity { | ||
Some(validity) => validity.push(false), | ||
None => self.init_validity(), |
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.
I feel like I've found the culprit :). It seems we only consider the validity
array in push_null
. But unlike LargeListArray
, there is no offsets
array for FixedSizeListArray
, causing our values
to be confused with null
value. After changing this, the test passed.
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.
Ah.. yes. It hurts that we need to box that every time, but that's what it is. :(
This closes #13151.