Share via


Functions.Greatest Method

Definition

Overloads

Greatest(String, String[])

Returns the greatest value of the list of column names, skipping null values.

Greatest(Column[])

Returns the greatest value of the list of values, skipping null values.

Greatest(String, String[])

Returns the greatest value of the list of column names, skipping null values.

public static Microsoft.Spark.Sql.Column Greatest (string columnName, params string[] columnNames);
static member Greatest : string * string[] -> Microsoft.Spark.Sql.Column
Public Shared Function Greatest (columnName As String, ParamArray columnNames As String()) As Column

Parameters

columnName
String

Column name

columnNames
String[]

Additional column names

Returns

Column object

Applies to

Greatest(Column[])

Returns the greatest value of the list of values, skipping null values.

public static Microsoft.Spark.Sql.Column Greatest (params Microsoft.Spark.Sql.Column[] columns);
static member Greatest : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.Column
Public Shared Function Greatest (ParamArray columns As Column()) As Column

Parameters

columns
Column[]

Columns to apply

Returns

Column object

Applies to