Skip to content

Commit eedbae7

Browse files
committed
Fix aggregate materialization snapshot
1 parent 545cf00 commit eedbae7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • datafusion/physical-plan/src/aggregates

‎datafusion/physical-plan/src/aggregates/mod.rs‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,15 +3228,6 @@ mod tests {
32283228
vec![2, 1]
32293229
);
32303230
assert_eq!(batches.iter().map(RecordBatch::num_rows).sum::<usize>(), 3);
3231-
assert_snapshot!(batches_to_sort_string(&batches), @r"
3232-
+-----+----------------------------+
3233-
| key | no_first_emit(value)[count] |
3234-
+-----+----------------------------+
3235-
| 1 | 1 |
3236-
| 2 | 1 |
3237-
| 3 | 1 |
3238-
+-----+----------------------------+
3239-
");
32403231

32413232
Ok(())
32423233
}
@@ -3298,6 +3289,15 @@ mod tests {
32983289
vec![2, 1]
32993290
);
33003291
assert_eq!(batches.iter().map(RecordBatch::num_rows).sum::<usize>(), 3);
3292+
assert_snapshot!(batches_to_sort_string(&batches), @r"
3293+
+-----+-----------------------------+
3294+
| key | no_first_emit(value)[count] |
3295+
+-----+-----------------------------+
3296+
| 1 | 1 |
3297+
| 2 | 1 |
3298+
| 3 | 1 |
3299+
+-----+-----------------------------+
3300+
");
33013301

33023302
Ok(())
33033303
}

0 commit comments

Comments
 (0)