Learn R Programming

sparklyr (version 1.8.5)

sdf_sort: Sort a Spark DataFrame

Description

Sort a Spark DataFrame by one or more columns, with each column sorted in ascending order.

Usage

sdf_sort(x, columns)

Arguments

x

An object coercable to a Spark DataFrame.

columns

The column(s) to sort by.

See Also

Other Spark data frames: sdf_copy_to(), sdf_distinct(), sdf_random_split(), sdf_register(), sdf_sample(), sdf_weighted_sample()