Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15254

Support count(*) other than count(someField) on aggregation queries

    XMLWordPrintable

Details

    Description

      Testing the aggregations it seems that we support:

      select status, count(code) from org.infinispan.query.model.Sale where day = :day group by status order by status

      but we didn't support:

      select status, count(*) from org.infinispan.query.model.Sale where day = :day group by status order by status

      The former should return the count of the group counting all the instances having code not null while the latter all the instances.

      Attachments

        Activity

          People

            fercoli@redhat.com Fabio Massimo Ercoli
            fercoli@redhat.com Fabio Massimo Ercoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: