-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of #1799 strongly typed ArrayData abstractions were added that allow constructing arrays from their constituent parts, and destructuring arrays back into their parts. Whilst it looks like we won't be moving ahead with a strongly typed ArrayData abstraction, these APIs are powerful and should be ported across to the corresponding Array implementation.
Describe the solution you'd like
Each of the various Array should have:
- An unsafe
new_uncheckedthat constructs it from rawScalarBuffer,OffsetBuffer, etc... - A safe
try_newmethod that performs validation and returns aResult - An
into_partsmethod that returns the constituent parts that can be fed tonew_unchecked - Methods should return
&ScalarBuffer<T>,&BooleanBuffer, etc... instead of&[T],&[u8]etc...
Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog