Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12362 Create a full-fledged built-in SQL parser
  3. SPARK-12578

Parser should not silently ignore the distinct keyword used in an aggregate function when OVER clause is used

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      Right now, when an aggregate function is used as window function and DISTINCT is used, Hive's parser silently drop the DISTINCT keyword. It is fine to not support DISTINCT aggregation in window function. But, it is not good to silently drop the keyword.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            viirya L. C. Hsieh
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment