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
When filtering a UnionArray the output will only include the types that had at least one value selected by the filter. I think this is a bug, as I would not expect a filter to mutate the schema of the input
Expected behavior
This test should pass
let mut builder = UnionBuilder::new_dense(4);
builder.append::<Int32Type>("A", 1).unwrap();
builder.append::<Float64Type>("B", 3.2).unwrap();
let array = builder.build().unwrap();
let filter_array = BooleanArray::from(vec![true, false]);
let c = filter(&array, &filter_array).unwrap();
assert_eq!(array.data_type(), c.data_type())
The text was updated successfully, but these errors were encountered:
Describe the bug
When filtering a UnionArray the output will only include the types that had at least one value selected by the filter. I think this is a bug, as I would not expect a filter to mutate the schema of the input
Expected behavior
This test should pass
The text was updated successfully, but these errors were encountered: