powered by
Defines the ordering columns in a WindowSpec.
orderBy(x, col, ...)# S4 method for WindowSpec,character orderBy(x, col, ...)# S4 method for WindowSpec,Column orderBy(x, col, ...)
# S4 method for WindowSpec,character orderBy(x, col, ...)
# S4 method for WindowSpec,Column orderBy(x, col, ...)
a WindowSpec
a character or Column indicating an ordering column
additional sorting fields
A WindowSpec.
See arrange for use in sorting a SparkDataFrame
Other windowspec_method: partitionBy(), rangeBetween(), rowsBetween()
partitionBy()
rangeBetween()
rowsBetween()
# NOT RUN { orderBy(ws, "col1", "col2") orderBy(ws, df$col1, df$col2) # }
Run the code above in your browser using DataLab