WindowFunction Contract — Window Function Expressions With WindowFrame

WindowFunction is the contract of function expressions that define a WindowFrame in which the window operator must be executed.

package org.apache.spark.sql.catalyst.expressions

trait WindowFunction extends Expression {
  // No required properties (vals and methods) that have no implementation
}
Table 1. WindowFunctions (Direct Implementations)
WindowFunction Description

AggregateWindowFunction

OffsetWindowFunction

Defining WindowFrame for Execution — frame Method

frame: WindowFrame

frame defines the WindowFrame for function execution, i.e. the WindowFrame in which the window operator must be executed.

frame is UnspecifiedFrame by default.

Note
frame is used when…​FIXME

results matching ""

    No results matching ""