Commits


Heres, Daniel authored and Jorge C. Leitao committed 5228ede9abf
ARROW-11086: [Rust] Extend take implementation to more index types ## Context The context of this PR is that I want to experiment with a simplified implementation of the hash join in DataFusion which directly can index the build-side array instead of keeping a list of batches. This array could grow beyond 2 ^ 32 billion elements, so would need indexes of type `UInt64` rather than `UInt32`. ## Implementation In the PR I just extend the public `take` to take any `IndexType` which implements `ArrowNumericType` and `ToPrimitive`. I am not sure about the consideration before to restrict `take` to only `UInt32Array`. Closes #9057 from Dandandan/take_index Authored-by: Heres, Daniel <danielheres@gmail.com> Signed-off-by: Jorge C. Leitao <jorgecarleitao@gmail.com>