[ https://issues.apache.org/jira/browse/ARROW-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove updated ARROW-4596: ------------------------------ Description: 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. was: 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. > [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: Nicolas Trinquier > Priority: Major > Labels: newbie > Fix For: 0.13.0 > > > 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 (v7.6.3#76005)