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_r338704785
##########
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:
This bug seems to exist in `branch-2.4`, doesn't it? With a proper UT, we
need to backport this to `branch-2.4`. Please update the JIRA issue `Affects
Versions` together.
----------------------------------------------------------------
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]