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

[C++] Unary kernels that results in a list have no preallocated offset buffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • C++

    Description

      I noticed in

      https://github.com/apache/arrow/pull/8271

      That a string->list[string] kernel does not have the offsets preallocated in the output. I believe there is a preference for not doing allocations in kernels, so this can be optimized at a higher level. I think it can also be done in this case. 

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              maartenbreddels Maarten Breddels
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h
                  1h