beliefer commented on code in PR #10573:
URL:
https://github.com/apache/incubator-gluten/pull/10573#discussion_r2336097254
##########
backends-velox/src/main/scala/org/apache/spark/api/python/ColumnarArrowEvalPythonExec.scala:
##########
@@ -333,8 +333,9 @@ case class ColumnarArrowEvalPythonExec(
val inputBatchIter = contextAwareIterator.map {
inputCb =>
start_time = System.nanoTime()
- ColumnarBatches.checkLoaded(inputCb)
- ColumnarBatches.retain(inputCb)
+ val batchType = ColumnarBatches.identifyBatchType(inputCb)
+ ColumnarBatches.checkLoaded(batchType)
+ ColumnarBatches.retain(inputCb, batchType)
Review Comment:
Yeah. It seems we should do the refactoring. I think it's OK.
--
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]