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

[Rust] Array slice doesn't work on ListArray and StructArray

    XMLWordPrintableJSON

Details

    Description

      ARROW-3954 added the ability to slice arrays. It's been implemented on the Array trait, so callers might expect it to also work on ListArray and StructArray.

      It looks like for ListArray, the offset buffer is sliced, but the child_data buffer is not modified. This leads to an assertion failure.

      Attachments

        Issue Links

          Activity

            People

              csun Chao Sun
              nevi_me Neville Dipale
              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 - 5.5h
                  5.5h