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

[C++] Casting empty boolean array causes segfault

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: C++

      Description

      Reproducer:

      import pyarrow as pa
      
      test = pa.array([], type=pa.bool_())
      test2 = test.cast(pa.int8())
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fsaintjacques Francois Saint-Jacques
                Reporter:
                keith.j.kraus Keith Kraus
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 0.5h
                  0.5h