This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new b77917747f Improve doc (#12053)
b77917747f is described below
commit b77917747fc24d45173d4aed323302f4fda77a12
Author: 张林伟 <[email protected]>
AuthorDate: Tue Aug 20 00:00:29 2024 +0800
Improve doc (#12053)
---
datafusion/expr-common/src/accumulator.rs | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/datafusion/expr-common/src/accumulator.rs
b/datafusion/expr-common/src/accumulator.rs
index eac91c4f8e..7533520945 100644
--- a/datafusion/expr-common/src/accumulator.rs
+++ b/datafusion/expr-common/src/accumulator.rs
@@ -117,8 +117,8 @@ pub trait Accumulator: Send + Sync + Debug {
/// ┌─────────────────────────┐ ┌─────────────────────────┐
/// │ GroubyBy │ │ GroubyBy │
/// │(AggregateMode::Partial) │ │(AggregateMode::Partial) │
- /// └─────────────────────────┘ └────────────▲────────────┘
- /// ▲ │
+ /// └─────────────────────────┘ └─────────────────────────┘
+ /// ▲ ▲
/// │ │ update_batch() is
called for
/// │ │ each input
RecordBatch
/// .─────────. .─────────.
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]