times
Multiplication of this expression and another expression.
// Scala: The following multiplies a person's height by their weight.
people.select( people("height") * people("weight") )
// Kotlin:
import org.jetbrains.kotlinx.spark.api.*
people.select( people("height") * people("weight") )
// Java:
import static org.apache.spark.sql.functions.*;
people.select( people.col("height").multiply(people.col("weight")) );
Content copied to clipboard