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

Improve performance for last_value over unbounded preceding window frame

    XMLWordPrintableJSON

Details

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

    Description

      The current implement of `last_value` over unbounded preceding window frame will execute `updateExpressions` multiple times.
      In fact, `last_value` only execute `updateExpressions` once on the last row.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: