Skip to content
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

filter kernel should work with UnionArrays #1394

Closed
alamb opened this issue Mar 3, 2022 · 0 comments · Fixed by #1412
Closed

filter kernel should work with UnionArrays #1394

alamb opened this issue Mar 3, 2022 · 0 comments · Fixed by #1412
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@alamb
Copy link
Contributor

alamb commented Mar 3, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Using arrow::compute::kernels::filter::filter and arrow::compute::kernels::filter::filter_record_batch on arrays (or record batches respectively) containing UnionArray produces a panic such as

panicked at 'not yet implemented: Take and filter operations still not supported for this datatype', arrow/src/array/transform/mod.rs:520:17

Describe the solution you'd like
It should work

Context
See example in #1379 from @helgikrs for MapArray support

@alamb alamb added the enhancement Any new improvement worthy of a entry in the changelog label Mar 3, 2022
@alamb alamb added the arrow Changes to the arrow crate label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant