[
https://issues.apache.org/jira/browse/ARROW-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795668#comment-16795668
]
Chao Sun commented on ARROW-4853:
---------------------------------
[~nevi_me] do you have a test case to reproduce the issue? In slicing, the
{{child_data}} should not be modified. Instead, the offset should be applied to
the {{child_data}} when it is returned.
> [Rust] Array slice doesn't work on ListArray and StructArray
> ------------------------------------------------------------
>
> Key: ARROW-4853
> URL: https://issues.apache.org/jira/browse/ARROW-4853
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Neville Dipale
> Assignee: Chao Sun
> Priority: Major
>
> -ARROW-3954- added the ability to slice arrays. It's been implemented on the
> Array trait, so callers might expect it to also work on ListArray and
> StructArray.
> It looks like for ListArray, the offset buffer is sliced, but the child_data
> buffer is not modified. This leads to an assertion failure.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)