Skip to content

Commit acf0ea3

Browse files
committed
Clarify test description for repartitioning between chained aggregates to reference issue apache#18989
1 parent da37368 commit acf0ea3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎datafusion/core/tests/physical_optimizer/enforce_distribution.rs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3879,9 +3879,8 @@ async fn repartition_between_chained_aggregates() -> Result<()> {
38793879

38803880
// The optimizer should either keep the stream single-partitioned via the
38813881
// sort-preserving merge, or insert a repartition between the two aggregates
3882-
// so that the second grouping sees a consistent hash distribution. Either
3883-
// path protects against the panic that was previously reported for this
3884-
// plan shape.
3882+
// so that the second grouping sees a consistent hash distribution.
3883+
// This test is similar to the reproducer case in #18989
38853884
let plan_display = displayable(physical_plan.as_ref()).indent(true).to_string();
38863885
let has_repartition =
38873886
plan_display.contains("RepartitionExec: partitioning=Hash([ts@0], 2)");

0 commit comments

Comments
 (0)