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

[Rust] Improve array limit function where max records > len

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Rust

    Description

      When we have an array of n records, and we want to take a limit that's higher or equat to n, we still iterate through the array values and create a new array.

      We could improve this by returning a copy of the array as-is.

      Attachments

        Issue Links

          Activity

            People

              nevi_me Neville Dipale
              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