You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jörn Horstmann (Jira)" <ji...@apache.org> on 2021/01/01 12:10:00 UTC
[jira] [Updated] (ARROW-11099) [Rust]: Remove unsafe value_slice
method from PrimitiveArray and BooleanArray
[ https://issues.apache.org/jira/browse/ARROW-11099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörn Horstmann updated ARROW-11099:
-----------------------------------
Description: Split out from ARROW-10990 which was the last internal user of that method. The same result can be achieved in a safer way by using `values()[offset..offset+len]`. The `raw_values` method in `BooleanArray` is also unused and could be removed. (was: Split out from ARROW-10990 which was the last internal user of that method. The same result can be achieved in a safer way by using `values()[offset..offset+len]`)
> [Rust]: Remove unsafe value_slice method from PrimitiveArray and BooleanArray
> -----------------------------------------------------------------------------
>
> Key: ARROW-11099
> URL: https://issues.apache.org/jira/browse/ARROW-11099
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Jörn Horstmann
> Assignee: Jörn Horstmann
> Priority: Major
>
> Split out from ARROW-10990 which was the last internal user of that method. The same result can be achieved in a safer way by using `values()[offset..offset+len]`. The `raw_values` method in `BooleanArray` is also unused and could be removed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)