Skip to content

Apache DataFusion SQL Query Engine

docs: update GroupsAccumulator instead of GroupAccumulator (#13787)

Raz Luvaton652b5a4fffd3
diff --git a/datafusion/expr-common/src/groups_accumulator.rs b/datafusion/expr-common/src/groups_accumulator.rs
index 2c8b126cb5..5ff1c1d072 100644
--- a/datafusion/expr-common/src/groups_accumulator.rs
+++ b/datafusion/expr-common/src/groups_accumulator.rs
@@ -82,7 +82,7 @@ impl EmitTo {
/// group
/// ```
///
-/// # Notes on Implementing `GroupAccumulator`
+/// # Notes on Implementing `GroupsAccumulator`
///
/// All aggregates must first implement the simpler [`Accumulator`] trait, which
/// handles state for a single group. Implementing `GroupsAccumulator` is
@@ -100,7 +100,7 @@ impl EmitTo {
/// accumulator manages the specific state, one per `group_index`.
///
/// `group_index`es are contiguous (there aren't gaps), and thus it is
-/// expected that each `GroupAccumulator` will use something like `Vec<..>`
+/// expected that each `GroupsAccumulator` will use something like `Vec<..>`
/// to store the group states.
///
/// [`Accumulator`]: crate::accumulator::Accumulator