Share via


Functions.Coalesce(Column[]) Method

Definition

Returns the first column that is not null, or null if all inputs are null.

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

Parameters

columns
Column[]

Columns to apply

Returns

Column object

Applies to