Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21747#discussion_r201686185
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/conditionalExpressions.scala
 ---
    @@ -32,7 +32,12 @@ import org.apache.spark.sql.types._
       """)
     // scalastyle:on line.size.limit
     case class If(predicate: Expression, trueValue: Expression, falseValue: 
Expression)
    -  extends Expression {
    +  extends ComplexTypeMergingExpression {
    +
    +  @transient
    +  override lazy val inputTypesForMerging: Seq[DataType] = {
    --- End diff --
    
    super nit: @transient lazy val


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to