Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8038

Add StatsStream to the Streaming API and wire it into the SQLHandler

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-8038.patch
          13 kB
          Joel Bernstein
        2. SOLR-8038.patch
          16 kB
          Joel Bernstein
        3. SOLR-8038.patch
          16 kB
          Joel Bernstein
        4. SOLR-8038.patch
          20 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: