Strongly Typed Array Slicing #3929
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
parquet
Changes to the parquet crate
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently calling
Array::slice
returns anArrayRef
, even if calling on a strongly typed array. This results in a lot of code of the formThis is not only verbose but has potential performance implications.
Describe the solution you'd like
Arrays should provide
Array::slice(&self, offset: usize, len: usize) -> Self
Describe alternatives you've considered
Additional context
Part of #3880
The text was updated successfully, but these errors were encountered: