Github user kiszk commented on a diff in the pull request: https://github.com/apache/spark/pull/19797#discussion_r153838284 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeCreator.scala --- @@ -111,11 +110,12 @@ private [sql] object GenArrayData { """ } - ("", + (s"$arrayName = new Object[$numElements];", --- End diff -- To make it local variable, I would like to use a new API at #19821. After merging #19821, I will commit new version.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org