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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      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

              • Assignee:
                joel.bernstein Joel Bernstein
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: