Ordering Columns in a WindowSpec
orderBy.Rd
Defines the ordering columns in a WindowSpec.
Usage
orderBy(x, col, ...)
# S4 method for WindowSpec,character
orderBy(x, col, ...)
# S4 method for WindowSpec,Column
orderBy(x, col, ...)
Arguments
- x
a WindowSpec
- col
a character or Column indicating an ordering column
- ...
additional sorting fields
See also
See arrange for use in sorting a SparkDataFrame
Other windowspec_method:
partitionBy()
,
rangeBetween()
,
rowsBetween()