Skip to content

Commit

Permalink
docs: update GroupsAccumulator instead of GroupAccumulator (#13787)
Browse files Browse the repository at this point in the history
Fixing `GroupsAccumulator` trait name in its docs
  • Loading branch information
rluvaton authored Dec 15, 2024
1 parent bfabd48 commit 652b5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/expr-common/src/groups_accumulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 652b5a4

Please sign in to comment.