You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Bryan Cutler (Jira)" <ji...@apache.org> on 2020/04/13 21:37:00 UTC

[jira] [Resolved] (ARROW-8386) [Python] pyarrow.jvm raises error for empty Arrays

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

Bryan Cutler resolved ARROW-8386.
---------------------------------
    Fix Version/s: 0.17.0
       Resolution: Fixed

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

> [Python] pyarrow.jvm raises error for empty Arrays
> --------------------------------------------------
>
>                 Key: ARROW-8386
>                 URL: https://issues.apache.org/jira/browse/ARROW-8386
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.16.0
>            Reporter: Bryan Cutler
>            Assignee: Bryan Cutler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.17.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In the pyarrow.jvm module, when there is an empty array in Java, trying to create it in python raises a ValueError. This is because for an empty array, Java returns an empty list of buffers, then pyarrow.jvm attempts to create the array with pa.Array.from_buffers with an empty list.



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