Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5103

[Python] Segfault when using chunked_array.to_pandas on array different types (edge case)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.12.1, 0.13.0
    • Fix Version/s: 0.15.0
    • Component/s: C++, Python
    • Labels:
      None
    • Environment:
      pyarrow 0.12.1 py37hf9e6f3b_0 conda-forge
      numpy 1.15.4 py37hacdab7b_0

      MacOs | gcc7 | what else ?

      Description

      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
      

        Attachments

          Activity

            People

            • Assignee:
              wesm Wes McKinney
              Reporter:
              ArtemK Artem KOZHEVNIKOV
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: