You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Uwe Korn (Jira)" <ji...@apache.org> on 2019/10/28 13:48:00 UTC

[jira] [Created] (ARROW-7008) [Python] pyarrow.chunked_array([array]) fails on array with

Uwe Korn created ARROW-7008:
-------------------------------

             Summary: [Python] pyarrow.chunked_array([array]) fails on array with 
                 Key: ARROW-7008
                 URL: https://issues.apache.org/jira/browse/ARROW-7008
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.15.0
            Reporter: Uwe Korn


Minimal reproducer:

{code}
import pyarrow as pa

pa.chunked_array([pa.array([], type=pa.string()).dictionary_encode().dictionary])
{code}

Traceback

{code}
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x20)
  * frame #0: 0x0000000112cd5d0e libarrow.15.dylib`arrow::Status arrow::internal::ValidateVisitor::ValidateOffsets<arrow::BinaryArray const>(arrow::BinaryArray const&) + 94
    frame #1: 0x0000000112cc79a3 libarrow.15.dylib`arrow::Status arrow::VisitArrayInline<arrow::internal::ValidateVisitor>(arrow::Array const&, arrow::internal::ValidateVisitor*) + 915
    frame #2: 0x0000000112cc747d libarrow.15.dylib`arrow::Array::Validate() const + 829
    frame #3: 0x0000000112e3ea19 libarrow.15.dylib`arrow::ChunkedArray::Validate() const + 89
    frame #4: 0x0000000112b8eb7d lib.cpython-37m-darwin.so`__pyx_pw_7pyarrow_3lib_135chunked_array(_object*, _object*, _object*) + 3661
{code}



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