You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2020/10/06 04:04:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-10041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Leitão resolved ARROW-10041.
----------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

Issue resolved by pull request 8296
[https://github.com/apache/arrow/pull/8296]

> [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
>            Assignee: Jorge Leitão
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)