You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/06/30 18:50:00 UTC

[jira] [Commented] (ARROW-5790) [Python] Passing zero-dim numpy array to pa.array causes segfault

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

Wes McKinney commented on ARROW-5790:
-------------------------------------

Thanks for the report. I don't think we have any unit tests for zero-dim NumPy arrays

> [Python] Passing zero-dim numpy array to pa.array causes segfault
> -----------------------------------------------------------------
>
>                 Key: ARROW-5790
>                 URL: https://issues.apache.org/jira/browse/ARROW-5790
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>         Environment: OSX, py37
>            Reporter: Brock Mendel
>            Priority: Major
>             Fix For: 1.0.0
>
>
> ```
> import pyarrow as pa
> import numpy as np
> zerod = np.array(0)
> result = pa.array(zerod)  # <-- segfault
> ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)