Fallibly creates a [`GenericStringArray`] from a [`GenericBinaryArray`] returning an error if [`GenericBinaryArray`] contains invalid UTF-8 data
(v: GenericBinaryArray<OffsetSize>)
| 54 | /// Fallibly creates a [`GenericStringArray`] from a [`GenericBinaryArray`] returning |
| 55 | /// an error if [`GenericBinaryArray`] contains invalid UTF-8 data |
| 56 | pub fn try_from_binary(v: GenericBinaryArray<OffsetSize>) -> Result<Self, ArrowError> { |
| 57 | let (offsets, values, nulls) = v.into_parts(); |
| 58 | Self::try_new(offsets, values, nulls) |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | impl<OffsetSize: OffsetSizeTrait> From<GenericListArray<OffsetSize>> |
nothing calls this directly
no test coverage detected