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

    https://github.com/apache/spark/pull/21352#discussion_r188960163
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
 ---
    @@ -552,7 +553,8 @@ case class Slice(x: Expression, start: Expression, 
length: Expression)
     
       override def children: Seq[Expression] = Seq(x, start, length)
     
    -  lazy val elementType: DataType = 
x.dataType.asInstanceOf[ArrayType].elementType
    +  @transient
    +  private lazy val elementType: DataType = 
x.dataType.asInstanceOf[ArrayType].elementType
    --- End diff --
    
    same as before :)


---

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

Reply via email to