pub fn check_partition_range_monotonicity(
ranges: &[Vec<PartitionRange>],
descending: bool,
) -> Result<()>Expand description
Checks that partition ranges are sorted correctly for the given sort direction.
- Descending: sorted by (end DESC, start DESC) - shorter ranges first when ends are equal
- Ascending: sorted by (start ASC, end ASC) - shorter ranges first when starts are equal