Skip to content

Commit

Permalink
fix: Error in queries with GROUP BY DIMENSION
Browse files Browse the repository at this point in the history
  • Loading branch information
waralexrom committed Feb 10, 2024
1 parent 2dfe4e1 commit 552a191
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datafusion/src/cube_ext/rolling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,12 @@ impl ExecutionPlan for RollingWindowAggExec {
append_value(out_aggs[i].as_mut(), &null)?;
}
}
for i in 0..out_extra_aggs.len() {
let null = &extra_agg_nulls[i];
for _ in 0..num_empty_dims {
append_value(out_extra_aggs[i].as_mut(), &null)?;
}
}
for _ in 0..num_empty_dims {
out_aggs_keep.append_value(true)?;
}
Expand Down

0 comments on commit 552a191

Please sign in to comment.