跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

RS_LessThan

Introduction: Mask all the values with 1 which are less than a particular target value

Format: RS_LessThan (Band: ARRAY[Double], Target: Double)

Return type: Array<Double>

Since: v1.1.0

SQL Example

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