dongjoon-hyun commented on code in PR #60444:
URL: https://github.com/apache/spark/pull/60444#discussion_r4566262715


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/ColumnarEvaluatorFactory.scala:
##########
@@ -99,7 +98,7 @@ class RowToColumnarEvaluatorFactory(
           var rowCount = 0
           while (rowCount < numRows && rowIterator.hasNext) {
             val row = rowIterator.next()
-            converters.convert(row, vectors.toArray)
+            converters.convert(row, vectors)

Review Comment:
   Thank you for the review and approval, @peter-toth. Yes, 
`rowsToColumnarBatches` has the same per-row copy. It came from SPARK-60325 
(#59582), which is not released yet, so I'll fix it in a separate 
`[SPARK-60325][SQL][FOLLOWUP]` PR and keep this PR to `RowToColumnarExec`, 
whose benchmark results are regenerated here.
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to