Commits


Omer Ozarslan authored and Benjamin Kietzman committed 577074da9cf
ARROW-6375: [C++] Extend ConversionTraits to allow efficiently appending list values in STL API `ConversionTraits<T>` is extended to allow users to provide `AppendMultipleRows` method for a type. This method can be used for constructing `List` or `LargeList` more efficiently by calling value builder's `ApendValues()` method with a contiguous range (e.g. `std::vector`), instead of iterating over each element with value builder's `Append()` method. Default is to fallback to the latter behavior if `AppendMultipleRows` isn't provided. Closes #5336 from ozars/arrow-6375-stl-append-rows and squashes the following commits: f6e50e382 <Omer Ozarslan> Make template arguments explicit to fix MSVC build 5861e9658 <Omer Ozarslan> Update doc for AppendCellRange c8ff2b3b0 <Omer Ozarslan> Fix missing/redundant template parameters f86d39146 <Omer Ozarslan> Infer builder type from ValueCType 25a566974 <Omer Ozarslan> Implement AppendListValues as free function c8df1b841 <Omer Ozarslan> Fix JSON array in test 9ae05d757 <Omer Ozarslan> Fix various issues 9df087ff1 <Omer Ozarslan> Add tests for AppendMultipleRows 1400e84be <Omer Ozarslan> Rename snake_case template typenames as CamelCase 0221ed5c9 <Omer Ozarslan> Implement AppendMultipleRows for ConversionTraits bd58d1cde <Omer Ozarslan> Allow non-const range in TableFromTupleRange Authored-by: Omer Ozarslan <omer@utdallas.edu> Signed-off-by: Benjamin Kietzman <bengilgit@gmail.com>