LuciferYang edited a comment on pull request #33556:
URL: https://github.com/apache/spark/pull/33556#issuecomment-893273859


   > objectsWritten == 0, there is no flush invoked
   
   For the reasons I explained above, if `No writes at all` scenario is no 
longer considered, `objectsWritten == 0` means that `inMemoryIterator.hasNext` 
return `false` after `flush()` is called when `objectsWritten == 
serializerBatchSize` , so there is `flush()` invoked.
   
   


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