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

Segmentation fault on len(Array) for empty arrays

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: Python
    • Labels:
      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

            • Assignee:
              xhochy Uwe L. Korn
              Reporter:
              xhochy Uwe L. Korn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: