Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.0
    • None
    • SQL
    • None

    Description

      I have checked PostgreSQL, Vertica, Oracle, Redshift, Presto, Teradata, FIRST_VALUE|LAST_VALUE is always used as a window function, not as an aggregate function.

      The FIRST_VALUE function currently provided can be used as both an aggregation function and a window function.

      Maybe we need to re-implement it.

      Reference discussion inĀ https://github.com/apache/spark/pull/25082

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              beliefer Jiaan Geng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: