pub fn cascade_range(
conn: &Connection,
from: usize,
lo: i64,
hi: i64,
) -> Result<usize>Expand description
Aggregate the finer table’s [lo, hi) into the next coarser
granularity, wholesale. Every stored column merges by SUM (or MAX
for the max), which is exactly why the schema stores NON-cumulative
bucket counts and additive sums.