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

Segmentation fault on len(Array) for empty arrays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • Python
    • None

    Description

      When creating an Array with no underlying storage (do we want to allow this?), i.e. before init is called, len will run into a segmentation fault.

      This is especially annoying if you only want to try it out in an ipython shell and the line `pyarrow.array.Array()` directly crashes as IPython tries to print the repr.

      Attachments

        Activity

          People

            uwe Uwe Korn
            uwe Uwe Korn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: