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

Improve the test coverage of window functions

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jiangxb1987 Xingbo Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: