gt
Greater than.
// Scala: The following selects people older than 21.
people.select( people("age") 21 )
// Kotlin:
import org.jetbrains.kotlinx.spark.api.*
people.select( people("age") gt 21 )
// Java:
import static org.apache.spark.sql.functions.*;
people.select( people.col("age").gt(21) );
Content copied to clipboard