From 2189720321581cbf67b427c8a98a9051ca74010a Mon Sep 17 00:00:00 2001 From: syvb Date: Wed, 22 Feb 2023 11:32:05 -0500 Subject: [PATCH] better error message for overlapping aggregates --- extension/src/state_aggregate/rollup.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extension/src/state_aggregate/rollup.rs b/extension/src/state_aggregate/rollup.rs index 39b34011..94041b20 100644 --- a/extension/src/state_aggregate/rollup.rs +++ b/extension/src/state_aggregate/rollup.rs @@ -91,7 +91,11 @@ impl OwnedCompactStateAgg { assert!( earlier.last_time <= later.first_time, - "can't merge overlapping aggregates (earlier={earlier:?}, later={later:?})" + "can't merge overlapping aggregates (earlier={}-{}, later={}-{})", + earlier.first_time, + earlier.last_time, + later.first_time, + later.last_time, ); assert_ne!( later.durations.len(),