zhengruifeng commented on code in PR #53974:
URL: https://github.com/apache/spark/pull/53974#discussion_r2731032691
##########
python/pyspark/worker.py:
##########
@@ -3149,15 +3153,17 @@ def batch_from_offset(batch, offsets):
names=[batch.schema.names[o] for o in offsets],
)
- def mapper(a):
- batch_iter = iter(a)
+ def mapper(batches):
Review Comment:
since we are reimplementing these functions, can we enforce type hint 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]