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

[C++][Python] StructArray.from_arrays() crashes Python interpreter

    XMLWordPrintableJSON

Details

    Description

      StructArray.from_arrays() crashes the Python interpreter without error message:

      (test_pyarrow) Z:\test_pyarrow>python
      Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import pyarrow as pa
      >>>
      >>> table = pa.Table.from_pydict({
      ...     'foo': pa.array([1, 2, 3]),
      ...     'bar': pa.array([4, 5, 6])
      ... })
      >>>
      >>> pa.StructArray.from_arrays([table['foo'], table['bar']], ['foo', 'bar'])
      
      (test_pyarrow) Z:\test_pyarrow>
      

      Attachments

        Issue Links

          Activity

            People

              amol- Alessandro Molina
              ARF1 ARF
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m