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/04/03 10:39:00 UTC
[jira] [Comment Edited] (ARROW-5103) Segfault when using
chunked_array.to_pandas on array different types (edge case)
[ https://issues.apache.org/jira/browse/ARROW-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808590#comment-16808590 ]
Krisztian Szucs edited comment on ARROW-5103 at 4/3/19 10:38 AM:
-----------------------------------------------------------------
This is still valid with pyarrow 0.13
We don't validate neither at the python side:
https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L289
nor in the ChunkedArray constructors:
https://github.com/apache/arrow/blob/master/cpp/src/arrow/table.cc#L42-L63
was (Author: kszucs):
This is still valid with pyarrow 0.13
> Segfault when using chunked_array.to_pandas on array different types (edge case)
> ----------------------------------------------------------------------------------
>
> Key: ARROW-5103
> URL: https://issues.apache.org/jira/browse/ARROW-5103
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Affects Versions: 0.13.0, 0.12.1
> Environment: pyarrow 0.12.1 py37hf9e6f3b_0 conda-forge
> numpy 1.15.4 py37hacdab7b_0
> MacOs | gcc7 | what else ?
> Reporter: Artem KOZHEVNIKOV
> Priority: Major
>
> {code:java}
> import numpy as np
> import pyarrow as pa
> ca = pa.chunked_array([pa.array(['rr'] * 10), pa.array(np.arange(10))])
> ca.type
> ca.to_pandas()
> libc++abi.dylib: terminating with uncaught exception of type std::length_error: basic_string
> Abort trap: 6
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)