fn list_view_reverse<O: OffsetSizeTrait>(
array: &GenericListViewArray<O>,
field: &FieldRef,
) -> Result<ArrayRef>Expand description
Reverses a list view array.
Construct indices, sizes and offsets for the reversed array by iterating over the list view array in the logical order, and reversing the order of the elements. We end up with a list view array where the elements are in order, even if the original array had elements out of order.