[
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
Initial patch with passing StreamingTest. Still need to add tests for the
SQLHandler and test edge conditions.
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]