You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Krisztian Szucs (JIRA)" <ji...@apache.org> on 2019/07/10 11:39:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Krisztian Szucs resolved ARROW-5790.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.14.1)
Issue resolved by pull request 4837
[https://github.com/apache/arrow/pull/4837]
> [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
> Assignee: Joris Van den Bossche
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> ```
> 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)