Functions.NaNvl(Column, Column) 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.
Returns col1 if it is not NaN, or col2 if col1 is NaN.
public static Microsoft.Spark.Sql.Column NaNvl(Microsoft.Spark.Sql.Column column1, Microsoft.Spark.Sql.Column column2);
static member NaNvl : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function NaNvl (column1 As Column, column2 As Column) As Column
Parameters
- column1
- Column
Column one to apply
- column2
- Column
Column two to apply
Returns
Column object
Remarks
Both inputs should be floating point columns (DoubleType or FloatType).