You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:15:02 UTC

[jira] [Commented] (ARROW-1335) [C++] PrimitiveArray::raw_values has inconsistent semantics re: offsets compared with subclasses

    [ https://issues.apache.org/jira/browse/ARROW-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658369#comment-17658369 ] 

Rok Mihevc commented on ARROW-1335:
-----------------------------------

This issue has been migrated to [issue #15449|https://github.com/apache/arrow/issues/15449] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.

> [C++] PrimitiveArray::raw_values has inconsistent semantics re: offsets compared with subclasses
> ------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-1335
>                 URL: https://issues.apache.org/jira/browse/ARROW-1335
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.6.0
>
>
> {{NumericArray<T>::raw_values}} accounts for offset, while {{PrimitiveArray::raw_values}} does not. This seems likely to lead to shooting one's self in the foot. It may be better to remove {{PrimitiveArray::raw_values}} altogether



--
This message was sent by Atlassian Jira
(v8.20.10#820010)