Skip to main content
Mask all the values with 1 which are greater than a particular target value

Signatures

RS_GreaterThan (Band: ARRAY[Double], Target: Double)

Parameters

Band
ARRAY[Double]
required
The band index.
Target
Double
required
The target value.

Return type

An array of double values.

Example

val greaterDF = spark.sql("select RS_GreaterThan(band, target) as maskedvalues from dataframe")