You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/09/18 20:39:00 UTC

[jira] [Created] (ARROW-10041) [Rust] Possible to create LargeStringArray with DataType::Utf8

Neville Dipale created ARROW-10041:
--------------------------------------

             Summary: [Rust] Possible to create LargeStringArray with DataType::Utf8
                 Key: ARROW-10041
                 URL: https://issues.apache.org/jira/browse/ARROW-10041
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust
    Affects Versions: 1.0.1
            Reporter: Neville Dipale


We don't perform enough checks on ArrayData when creating StringArray and LargeStringArray. As they use different integer sizes for offsets, this can create a problem where Offset<Vec<i32>> could be correctly reinterpreted as Offset<Vec<i64>> and vice versa.

We should add checks that pervent this. The same might apply for List and LargeList



--
This message was sent by Atlassian Jira
(v8.3.4#803005)