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

[C++] Casting empty boolean array causes segfault

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • C++

    Description

      Reproducer:

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

      Attachments

        Issue Links

          Activity

            People

              fsaintjacques Francois Saint-Jacques
              keith.j.kraus Keith Kraus
              Votes:
              0 Vote for this issue
              Watchers:
              3 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