fn get_primary_end(range: &PartitionRange, descending: bool) -> TimestampExpand description
Get the primary end of a PartitionRange based on sort direction.
- Descending: primary end is
end(we process highest values first) - Ascending: primary end is
start(we process lowest values first)