package org.apache.spark.sql.catalyst.expressions
trait SizeBasedWindowFunction extends AggregateWindowFunction {
// No required properties (vals and methods) that have no implementation
}
SizeBasedWindowFunction Contract — Declarative Window Aggregate Functions with Window Size
SizeBasedWindowFunction
is the extension of the AggregateWindowFunction Contract for window functions that require the size of the current window for calculation.
Property | Description |
---|---|
|
Size of the current window as a AttributeReference expression with |
SizeBasedWindowFunction | Description |
---|---|
Window function expression for cume_dist standard function (Dataset API) and cume_dist SQL function |
|
NTile |
|
PercentRank |