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

Wes McKinney resolved ARROW-7008.
---------------------------------
    Resolution: Fixed

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

> [Python] pyarrow.chunked_array([array]) fails on array with all-None buffers
> ----------------------------------------------------------------------------
>
>                 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
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.17.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to