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

[Python] Passing zero-dim numpy array to pa.array causes segfault

    XMLWordPrintableJSON

Details

    Description

      ```
      import pyarrow as pa
      import numpy as np

      zerod = np.array(0)
      result = pa.array(zerod)  # <-- segfault
      ```

      Attachments

        Issue Links

          Activity

            People

              jorisvandenbossche Joris Van den Bossche
              jbrockmendel Brock Mendel
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 50m
                  50m