From 7e87024da152c21c968d5dce88e6160603bd423b Mon Sep 17 00:00:00 2001 From: Frank McSherry Date: Thu, 10 Sep 2026 13:39:44 -0400 Subject: [PATCH] Advance Corgi timestamps in runtime-width rows --- interactive/src/corgi/chunk.rs | 53 ++++++++ interactive/src/corgi/col_times.rs | 10 +- interactive/src/corgi/time_advance_tests.rs | 127 ++++++++++++++++++ interactive/src/corgi/time_rows.rs | 138 ++++++++++++++++++++ 4 files changed, 325 insertions(+), 3 deletions(-) create mode 100644 interactive/src/corgi/time_advance_tests.rs create mode 100644 interactive/src/corgi/time_rows.rs diff --git a/interactive/src/corgi/chunk.rs b/interactive/src/corgi/chunk.rs index 683d4872c..3d8a0f6e3 100644 --- a/interactive/src/corgi/chunk.rs +++ b/interactive/src/corgi/chunk.rs @@ -327,6 +327,20 @@ where input.push_front(Self::from_kv(gather(&ckv, &idx), ct, cdiffs[end..].to_vec())); } + // Dispatch once per buffer for DDIR's numeric product lattice. The general + // timestamp path below retains its own Lattice::advance_by semantics. + use std::any::Any; + use crate::ir::Time; + if let Some(times) = (&ctimes as &dyn Any).downcast_ref::>() { + let frontier: Antichain