You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Bobby Wagner (Jira)" <ji...@apache.org> on 2020/06/07 16:45:00 UTC
[jira] [Created] (ARROW-9059) [Rust] Documentation for slicing
array data has the wrong sign
Bobby Wagner created ARROW-9059:
-----------------------------------
Summary: [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
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)