We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
build_extend_dense blindly copies offsets from the source array across, which can lead to invalid offsets in the filtered array
To Reproduce
let mut builder = UnionBuilder::new_dense(4); builder.append::<Int32Type>("A", 1).unwrap(); builder.append::<Float64Type>("B", 3.2).unwrap(); builder.append::<Float64Type>("B", 3.2).unwrap(); let array = builder.build().unwrap(); let filter_array = BooleanArray::from(vec![true, false, true]); let c = filter(&array, &filter_array).unwrap(); let filtered = c.as_any().downcast_ref::<UnionArray>().unwrap(); filtered.value(1);
Panics with
thread 'compute::kernels::filter::tests::test_filter_union_array_dense_with_nulls' panicked at 'assertion failed: (offset + length) <= self.len()', arrow/src/array/data.rs:486:9 ****
Expected behavior
This should not panic
The text was updated successfully, but these errors were encountered:
Simplify null masking in equality comparisons
95b2ed3
Various UnionArray fixes (apache#1598) (apache#1596) (apache#1591) (apache#1590) Fix handling of null masks in ArrayData equality (apache#1599)
ArrayData
UnionArray
MapArray
Fix Null Mask Handling in ArrayData And UnionArray (#1589)
37085d2
* Fix ListArray and StructArray equality (#626) * Simplify null masking in equality comparisons Various UnionArray fixes (#1598) (#1596) (#1591) (#1590) Fix handling of null masks in ArrayData equality (#1599) * Miscellaneous fixes * Fix structure null equality * Review feedback
Successfully merging a pull request may close this issue.
Describe the bug
build_extend_dense blindly copies offsets from the source array across, which can lead to invalid offsets in the filtered array
To Reproduce
Panics with
Expected behavior
This should not panic
The text was updated successfully, but these errors were encountered: