Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4596

[Rust] [DataFusion] Implement COUNT aggregate function

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            LukeMathWalker Luca Palmieri
            andygrove Andy Grove
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h 20m
                4h 20m