Skip to content

Commit

Permalink
add aggregate to simple aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee committed Aug 15, 2024
1 parent e2c02e0 commit b10ac78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/examples/simple_aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit b10ac78

Please sign in to comment.