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

Support DISTINCT with aggregates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 3.2.0
    • None
    • Frontend
    • 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

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

            Dates

              Created:
              Updated: