Functions.SortArray(Column, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sorts the input array for the given column in ascending (default) or descending order, the natural ordering of the array elements.
public static Microsoft.Spark.Sql.Column SortArray(Microsoft.Spark.Sql.Column column, bool asc = true);
static member SortArray : Microsoft.Spark.Sql.Column * bool -> Microsoft.Spark.Sql.Column
Public Shared Function SortArray (column As Column, Optional asc As Boolean = true) As Column
Parameters
- column
- Column
Column to apply
- asc
- Boolean
True for ascending order and false for descending order
Returns
Column object