Skip to content

Commit

Permalink
Improve doc (apache#12053)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw authored Aug 19, 2024
1 parent a3c0c19 commit b779177
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions datafusion/expr-common/src/accumulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ pub trait Accumulator: Send + Sync + Debug {
/// ┌─────────────────────────┐ ┌─────────────────────────┐
/// │ GroubyBy │ │ GroubyBy │
/// │(AggregateMode::Partial) │ │(AggregateMode::Partial) │
/// └─────────────────────────┘ └────────────────────────┘
/// ▲
/// └─────────────────────────┘ └────────────────────────┘
/// ▲
/// │ │ update_batch() is called for
/// │ │ each input RecordBatch
/// .─────────. .─────────.
Expand Down Expand Up @@ -185,15 +185,15 @@ pub trait Accumulator: Send + Sync + Debug {
/// │(AggregateMode::Partial) │ │ (AggregateMode::Partial) │ the groups
/// └─────────────────────────┘ └──────────────────────────┘
/// ▲ ▲
/// │ ┌┘
/// │ │
/// .─────────. .─────────.
/// ,─' '─. ,─' '─.
/// ; Input : ; Input : 1. Since input data is
/// : Partition 0 ; : Partition 1 ; arbitrarily or RoundRobin
/// ╲ ╱ ╲ ╱ distributed, each partition
/// '─. ,─' '─. ,─' likely has all distinct
/// `───────' `───────'
/// │
/// │
/// .─────────. .─────────.
/// ,─' '─. ,─' '─.
/// ; Input : ; Input : 1. Since input data is
/// : Partition 0 ; : Partition 1 ; arbitrarily or RoundRobin
/// ╲ ╱ ╲ ╱ distributed, each partition
/// '─. ,─' '─. ,─' likely has all distinct
/// `───────' `───────'
/// ```
///
/// This structure is used so that the `AggregateMode::Partial` accumulators
Expand Down

0 comments on commit b779177

Please sign in to comment.