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

          beliefer Jiaan Geng added a comment -

          I'm working on.

          beliefer Jiaan Geng added a comment - I'm working on.
          beliefer Jiaan Geng added a comment -

          Because this will lead to break change for first_value, we suspend this ticket.

          beliefer Jiaan Geng added a comment - Because this will lead to break change for first_value, we suspend this ticket.

          People

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

            Dates

              Created:
              Updated:
              Resolved: