HyukjinKwon commented on a change in pull request #23569: [SPARK-25713][SQL] - 
adding copy for ColumnArray
URL: https://github.com/apache/spark/pull/23569#discussion_r249686472
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/GenericArrayData.scala
 ##########
 @@ -35,6 +35,7 @@ private object GenericArrayData {
 
 class GenericArrayData(val array: Array[Any]) extends ArrayData {
 
+  def this(size: Int) = this(new Array[Any](size))
 
 Review comment:
   What is it for BTW?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to