You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/06/08 10:03:00 UTC
[jira] [Assigned] (ARROW-9059) [Rust] Documentation for slicing
array data has the wrong sign
[ https://issues.apache.org/jira/browse/ARROW-9059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs reassigned ARROW-9059:
--------------------------------------
Assignee: Bobby Wagner
> [Rust] Documentation for slicing array data has the wrong sign
> --------------------------------------------------------------
>
> Key: ARROW-9059
> URL: https://issues.apache.org/jira/browse/ARROW-9059
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Bobby Wagner
> Assignee: Bobby Wagner
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In the slice_data function in array.rs, the docstring says it panics if offset+length is less than data.len(), the code actually panics if offset + length is greater than data.len()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)