You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/07 16:49:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-9059:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)