Weixin-Xu commented on code in PR #13492:
URL: https://github.com/apache/gluten/pull/13492#discussion_r4421629430


##########
backends-bolt/src/main/scala/org/apache/spark/api/python/ColumnarArrowEvalPythonExec.scala:
##########
@@ -368,44 +373,29 @@ case class ColumnarArrowEvalPythonExec(
               val joinedVectors = (0 until inputCb.numCols).toArray.map(
                 i => inputCb.column(i)) ++ (0 until 
outputCb.numCols).toArray.map(
                 i => outputCb.column(i))
-              (0 until joinedVectors.length).foreach(
-                i => {
-                  
adjustRefCnt(joinedVectors(i).asInstanceOf[ArrowWritableColumnVector], 1)
-                })
               val numRows = inputCb.numRows

Review Comment:
   Added explicit fallback for SQL_SCALAR_PANDAS_ITER_UDF until row-based 
input/output alignment is supported. This prevents iterator UDFs that combine 
or split batches from entering the batch-index-based path. Regular scalar 
pandas UDFs retain the columnar execution path, with a row-count check before 
joining.



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