Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2226

HAVING should be able to contain aggregate expressions that don't appear in the aggregation list.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • SQL
    • None

    Description

      https://github.com/apache/hive/blob/trunk/ql/src/test/queries/clientpositive/having.q

      This test file contains the following query:

      SELECT key FROM src GROUP BY key HAVING max(value) > "val_255";
      

      Once we fixed this issue, we should whitelist having.q.

      Attachments

        Issue Links

          Activity

            People

              willbenton William Benton
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: