Periecle opened a new pull request, #50164:
URL: https://github.com/apache/arrow/pull/50164
### Rationale for this change
`binary_view` and `string_view` arrays were not fully supported by
selection kernels. This also blocked dictionary decoding for dictionaries with
view-type values.
### What changes are included in this PR?
- Add take/filter support for `BINARY_VIEW` and `STRING_VIEW`.
- Preserve variadic payload buffers when taking view arrays.
- Allow dictionary decode/cast from dictionaries with view-type values.
- Add coverage for take, filter, drop null, scatter, and dictionary decode
paths.
### Are these changes tested?
Yes.
- `pre-commit run cpp --files <changed files>`
- `cmake --build cpp/build --target arrow-compute-vector-selection-test`
- Focused compute tests for cast, selection, drop null, and scatter
view-array paths
### Are there any user-facing changes?
Yes. `binary_view` and `string_view` arrays are now supported by the
affected selection and dictionary decode paths.
Partially addresses GH-39634
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]