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

Improve performance for nth_value ignore nulls over offset window

    XMLWordPrintableJSON

Details

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

    Description

      The current

      UnboundedOffsetWindowFunctionFrame
      

      and

      UnboundedPrecedingOffsetWindowFunctionFrame
      

      only support nth_value that respect nulls. So nth_value will execute

      updateExpressions
      

      multiple times.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: