marin-ma commented on code in PR #11083:
URL: 
https://github.com/apache/incubator-gluten/pull/11083#discussion_r2545468458


##########
backends-velox/src/main/scala/org/apache/spark/shuffle/ColumnarShuffleWriter.scala:
##########
@@ -203,7 +205,7 @@ class ColumnarShuffleWriter[K, V](
         val columnarBatchHandle =
           ColumnarBatches.getNativeHandle(BackendsApiManager.getBackendName, 
cb)
         val startTime = System.nanoTime()
-        shuffleWriterJniWrapper.write(
+        val curBytesWritten = shuffleWriterJniWrapper.write(

Review Comment:
   @Yohahaha I don't see any modification to the 
`Java_org_apache_gluten_vectorized_ShuffleWriterJniWrapper_write` in this patch.
   
   > `batch->numBytes` is not accurate right?
   
   I'm also not aware of that. Could you elaborate in which cases it could be 
inaccurate? If the value is wrong we should fix this api as well.



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