pub fn plan_ranges(min: i64, max: i64, target: usize) -> Vec<KeyRange>Expand description
Split [min, max] into target contiguous ranges tiling the whole key
space (the first is unbounded below, the last unbounded above), via the same
planner PK-range sharding uses.