LuciferYang commented on PR #43691:
URL: https://github.com/apache/spark/pull/43691#issuecomment-1798541923

   hmm... a little strange to call super.hasNext in next. How about make 
`ArrowBatchIterator` with `AutoCloseable` and closing 
`ArrowBatchWithSchemaIterator` in the finally block when `TaskContext.get` is 
null?


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