Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8029

Support DISTINCT with aggregates

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Impala 3.2.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:
    • Epic Color:
      ghx-label-2

      Description

      The following is valid syntax, but throws an error in Impala 3.2.0:

      sql> select distinct sum(col0) from tab0;
      ERROR: AnalysisException: cannot combine SELECT DISTINCT with aggregate functions or GROUP BY
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grahn Greg Rahn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: