[ https://issues.apache.org/jira/browse/ARROW-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661619#comment-17661619 ]
Rok Mihevc commented on ARROW-4596: ----------------------------------- This issue has been migrated to [issue #21137|https://github.com/apache/arrow/issues/21137] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Rust] [DataFusion] Implement COUNT aggregate function > ------------------------------------------------------ > > Key: ARROW-4596 > URL: https://issues.apache.org/jira/browse/ARROW-4596 > Project: Apache Arrow > Issue Type: Improvement > Components: Rust, Rust - DataFusion > Reporter: Andy Grove > Assignee: Luca Palmieri > Priority: Major > Labels: newbie, pull-request-available > Fix For: 0.14.0 > > Time Spent: 4h 20m > Remaining Estimate: 0h > > Add support for COUNT aggregate function. See SUM function in aggregates.rs > for inspiration. > SQL parser should support COUNT(1) and COUNT ( * ) syntax for counting rows > as well as COUNT(column_name) for counting non-null values for a column. > COUNT(DISTINCT expr) should be handled in a separate issue since it is more > complex. -- This message was sent by Atlassian Jira (v8.20.10#820010)