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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

              fercoli@redhat.com Fabio Massimo Ercoli
              fercoli@redhat.com Fabio Massimo Ercoli
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: