dongjoon-hyun commented on a change in pull request #26137: [SPARK-29490][SQL]
Reset 'WritableColumnVector' in 'RowToColumnarExec'
URL: https://github.com/apache/spark/pull/26137#discussion_r338877518
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/Columnar.scala
##########
@@ -454,6 +454,7 @@ case class RowToColumnarExec(child: SparkPlan) extends
UnaryExecNode {
override def next(): ColumnarBatch = {
cb.setNumRows(0)
+ vectors.foreach(_.reset())
Review comment:
You are right, @rongma1997 . It seems that I misread the commit history last
time.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]