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

    https://github.com/apache/spark/pull/21352#discussion_r188986795
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
 ---
    @@ -388,7 +388,8 @@ case class Reverse(child: Expression) extends 
UnaryExpression with ImplicitCastI
     
       override def dataType: DataType = child.dataType
     
    -  lazy val elementType: DataType = 
dataType.asInstanceOf[ArrayType].elementType
    +  @transient
    +  private lazy val elementType: DataType = 
dataType.asInstanceOf[ArrayType].elementType
    --- End diff --
    
    sure, np. Anyway, if you all think that it is good to add it, then let's do 
it and ignore my comments related to `@transient` please.


---

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

Reply via email to