More ergonomic / idiomatic primitive array creation from iterators #1298
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
help wanted
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I want to write this to create an array without nulls (as I am used to using this syntax all over rust codebases):
However, i have to write this (add a
Some
so it becomes anOption
) which is annoying.Note you can write this, but that is not as idomatic
Describe the solution you'd like
But it would be more ergonomic to be able to just use the collect syntax
Namely I want to write this and have it work:
Also, for BooleanArray and StringArray
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
The text was updated successfully, but these errors were encountered: