From b10ac784fc2fe30094fe29495323874ffe94b6e6 Mon Sep 17 00:00:00 2001 From: Matt Green Date: Thu, 15 Aug 2024 04:15:46 -0700 Subject: [PATCH] add aggregate to simple aggregation --- examples/examples/simple_aggregation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/examples/simple_aggregation.rs b/examples/examples/simple_aggregation.rs index c3cb337..fdadedd 100644 --- a/examples/examples/simple_aggregation.rs +++ b/examples/examples/simple_aggregation.rs @@ -42,7 +42,7 @@ async fn main() -> Result<()> { .from_topic(source_topic) .await? .window( - vec![], + vec![col("sensor_name")], vec![ count(col("reading")).alias("count"), min(col("reading")).alias("min"),