Skip to content

Commit

Permalink
fix: test of tumble
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed May 23, 2024
1 parent 969ebd6 commit cdc6550
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/flow/src/transform/aggr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,19 +537,19 @@ mod test {
ColumnType::new(CDT::uint32_datatype(), false), // number(pk)
// values
ColumnType::new(CDT::uint64_datatype(), true), // avg.sum(number)
ColumnType::new(CDT::uint64_datatype(), true), // avg.count(number)
ColumnType::new(CDT::int64_datatype(), true), // avg.count(number)
])
.with_key(vec![1, 2])
.with_time_index(Some(0)),
),
),
mfp: MapFilterProject::new(5)
.map(vec![
avg_expr, // avg(number)
avg_expr,
ScalarExpr::Column(2), // number(pk)
ScalarExpr::Column(5),
ScalarExpr::Column(0),
ScalarExpr::Column(1),
ScalarExpr::Column(5), // avg.sum(number)
ScalarExpr::Column(0), // window start
ScalarExpr::Column(1), // window end
])
.unwrap()
.project(vec![6, 7, 8, 9])
Expand Down

0 comments on commit cdc6550

Please sign in to comment.