This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 3bb13da316 MINOR: [C++] Fix a typo in Acero agg description (#37031)
3bb13da316 is described below

commit 3bb13da316e4ddd4a7aab26a0f099763f1d32b1f
Author: SGZW <[email protected]>
AuthorDate: Mon Aug 7 08:45:53 2023 +0800

    MINOR: [C++] Fix a typo in Acero agg description (#37031)
    
    
    
    ### Rationale for this change
    
    ### What changes are included in this PR?
    
    fix acero agg node typo
    
    ### Are these changes tested?
    
    ### Are there any user-facing changes?
    
    Authored-by: SGZW <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/src/arrow/acero/aggregate_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/acero/aggregate_internal.h 
b/cpp/src/arrow/acero/aggregate_internal.h
index 01861f0242..744acb1245 100644
--- a/cpp/src/arrow/acero/aggregate_internal.h
+++ b/cpp/src/arrow/acero/aggregate_internal.h
@@ -52,7 +52,7 @@
 // segment-keys is used to refine the partitioning. However, segment-keys are 
different in
 // that they partition only consecutive rows into a single group. Such a 
partition of
 // consecutive rows is called a segment group. For example, consider a column 
X with
-// values [A, A, B, A] at row-indices [0, 1, 2]. A regular group-by 
aggregation with keys
+// values [A, A, B, A] at row-indices [0, 1, 2, 3]. A regular group-by 
aggregation with keys
 // [X] yields a row-index partitioning [[0, 1, 3], [2]] whereas a 
segmented-group-by
 // aggregation with segment-keys [X] yields [[0, 1], [2], [3]].
 //

Reply via email to