westonpace opened a new pull request, #5170:
URL: https://github.com/apache/arrow-rs/pull/5170
# Which issue does this PR close?
Closes #5169
# Rationale for this change
See issue
# What changes are included in this PR?
The take implementation for fixed size list currently works by expanding the
indices from "list indices" into "child indices". In other words, if the list
is a fixed size list of 3 and the indices are `[0, 5]` then it converts this
into `[0, 1, 2, 15, 16, 17]`. This process was ignoring null indices and the
result was that the child array would be too short. For example, `[0, null]`
would turn into `[0, 1, 2]` which is too short. This PR propagates the null
into the child index list. So now `[0, null]` turns into `[0, 1, 2, null,
null, null]`.
# Are there any user-facing changes?
None
--
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]