Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30374 Feature Parity between PostgreSQL and Spark (ANSI/SQL)
  3. SPARK-33186

Respect ANSI standard and change FIRST_VALUE as pure window function.

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

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Later
    • 3.1.0
    • None
    • SQL
    • None

    Description

      FIRST_VALUE is an ANSI window function.
      But the current implement of FIRST_VALUE in Spark is an aggregate function.
      Although FIRST_VALUE could be used as window function.
      But it is an aggregate function in fact and will lead to users to mistakenly think that FIRST_VALUE is an aggregate function that can be used.
      Users can use FIRST now.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            beliefer jiaan.geng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment