ueshin commented on code in PR #52931:
URL: https://github.com/apache/spark/pull/52931#discussion_r2539703010
##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -1015,7 +1036,10 @@ private[spark] class PythonRunner(
try {
stream.readInt() match {
case length if length >= 0 =>
- PythonWorkerUtils.readBytes(length, stream)
+ val data = PythonWorkerUtils.readBytes(length, stream)
+ recordsProcessed += 1
+ totalDataReceived += length
Review Comment:
If it shows "Batches: 0, Data: 0 B", it confuses users. It should also track
the numbers, or could you omit it in `PythonArrowOutput` if it's difficult to
track them?
--
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]