partitionBy {SparkR} | R Documentation |
Defines the partitioning columns in a WindowSpec.
partitionBy(x, ...) ## S4 method for signature 'WindowSpec' partitionBy(x, col, ...)
x |
a WindowSpec |
a WindowSpec
Other windowspec_method: arrange
,
rangeBetween
, rowsBetween
## Not run:
##D partitionBy(ws, "col1", "col2")
##D partitionBy(ws, df$col1, df$col2)
## End(Not run)