Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22359

Improve the test coverage of window functions

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.3.0
    • None
    • SQL

    Description

      There are already quite a few integration tests using window functions, but the unit tests coverage for window funtions is not ideal.
      We'd like to test the following aspects:

      • Specifications
        • different partition clauses (none, one, multiple)
        • different order clauses (none, one, multiple, asc/desc, nulls first/last)
      • Frames and their combinations
        • OffsetWindowFunctionFrame
        • UnboundedWindowFunctionFrame
        • SlidingWindowFunctionFrame
        • UnboundedPrecedingWindowFunctionFrame
        • UnboundedFollowingWindowFunctionFrame
      • Aggregate function types
        • Declarative
        • Imperative
        • UDAF
      • Spilling
        • Cover the conditions that WindowExec should spill at least once

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            Unassigned Unassigned
            jiangxb1987 Xingbo Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: