felipecrv opened a new issue, #40280:
URL: https://github.com/apache/arrow/issues/40280
### Describe the enhancement requested
`ChunkedArrayResolver::Resolve<T>` can be made more generic by always
producing a `ResolvedChunk<arrow::Array>` instead of
- `ResolvedChunk<arrow::Int64Array>`
- `ResolvedChunk<arrow::BoolArray>`
- `ResolvedChunk<arrow::StringArray`
- and so on...
It's only `ResolvedChunk::Value` that needs to specialize on the sub-type of
`arrow::Array`.
Other possible improvements that might end up with their own dedicated
issues:
- Make `ChunkedArrayResolver` constructable from `std::vectors` of other
chunk array types (eg `std::shared_ptr<Arrow>`, `std::shared_ptr<ArrayData>`
instead of just `const Array`
- Make that construction step zero-copy
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]