Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0
-
Python Version: 3.6.3 (Anaconda)
OS: OSX and Linux
Description
When writing a ListArray which contains only empty lists to Parquet, Pyarrow crashes. Here is a minimal code snippet which reproduces the crash:
import pyarrow as pa from pyarrow import parquet as pq array = pa.array([[]], type=pa.list_(pa.int32())) table = pa.Table.from_arrays([array], ["A"]) pq.write_table(table, "tmp.parq")
When the ListArray has at least one non-empty list, the issue disappears.
Attachments
Issue Links
- relates to
-
PARQUET-1346 [C++] Protect against null values data in empty Arrow array
- Resolved
- links to