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

[Rust] Possible to create LargeStringArray with DataType::Utf8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 2.0.0
    • Rust

    Description

      We don't perform enough checks on ArrayData when creating StringArray and LargeStringArray. As they use different integer sizes for offsets, this can create a problem where Offset<Vec<i32>> could be correctly reinterpreted as Offset<Vec<i64>> and vice versa.

      We should add checks that pervent this. The same might apply for List and LargeList

      Attachments

        Issue Links

          Activity

            People

              jorgecarleitao Jorge Leitão
              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 - 40m
                  40m