All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.spark.sql.catalyst.expressions.IfNull.scala Maven / Gradle / Ivy

There is a newer version: 1.2.0-synapse3.3-spark3.3-hadoop3.3
Show newest version
package org.apache.spark.sql.catalyst.expressions

case class IfNull(left: Expression, right: Expression, replacement: Expression)
    extends RuntimeReplaceable with InheritAnalysisRules {

    def this(left: Expression, right: Expression) = {
        this(left, right, Coalesce(Seq(left, right)))
    }

    override def parameters: Seq[Expression] = Seq(left, right)

    override protected def withNewChildInternal(newChild: Expression): IfNull =
        copy(replacement = newChild)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy