You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decoder contains logic to promote a scalar value to a list, however, the logic that does so does not set the validity on the parent array.
if let Value::Array(a) = v {
cur_offset += OffsetSize::from_usize(a.len()).unwrap();
bit_util::set_bit(list_nulls, i);
} else if let Value::Null = v {
// value is null, not incremented
} else {
cur_offset += OffsetSize::one();
}
As such the resulting slices are always null
To Reproduce
Column d of mixed_arrays.json has a null count of 3 in the output, instead of 1.
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Decoder
contains logic to promote a scalar value to a list, however, the logic that does so does not set the validity on the parent array.As such the resulting slices are always
null
To Reproduce
Column
d
ofmixed_arrays.json
has a null count of 3 in the output, instead of 1.Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: