mridulm commented on PR #46131:
URL: https://github.com/apache/spark/pull/46131#issuecomment-2126354516

   One way I can quickly think of is to check if `objOut.close()` or 
`bs.close()` is being called or not.
   For example, adapt the `"calling closeAndDelete() on a partial write file"` 
test and use either a custom serializer or a custom compression codec to check 
for close being invoked ?
   
   (Sorry for the delay in getting back to you - this PR dropped off my todo 
list unfortunately)
   
   


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