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

    https://github.com/apache/spark/pull/19603#discussion_r147581528
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala
 ---
    @@ -591,18 +591,40 @@ case class MapObjects private(
           case _ => inputData.dataType
         }
     
    -    val (getLength, getLoopVar) = inputDataType match {
    +    val (getLength, prepareLoop, getLoopVar) = inputDataType match {
           case ObjectType(cls) if classOf[Seq[_]].isAssignableFrom(cls) =>
    --- End diff --
    
    Oops, right, not reading this clearly.


---

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

Reply via email to