[ https://issues.apache.org/jira/browse/SOLR-8038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-8038: --------------------------------- Attachment: SOLR-8038.patch New patch with a working SQL test. > Add SQL aggregate support without GROUP BY clause > ------------------------------------------------- > > Key: SOLR-8038 > URL: https://issues.apache.org/jira/browse/SOLR-8038 > Project: Solr > Issue Type: New Feature > Reporter: Joel Bernstein > Assignee: Joel Bernstein > Priority: Minor > Fix For: Trunk > > Attachments: SOLR-8038.patch, SOLR-8038.patch > > > Currently the SQL interface only supports aggregate functions when a GROUP BY > clause is present. This ticket will add the capability to query for > aggregates without a GROUP BY clause. > Example: > select max(a), sum(b), min(c) from table1. > The underlying implementation will be a *StatsStream* class which outputs the > results from a *StatsComponent* query as a single Tuple. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org