LuciferYang commented on pull request #33556:
URL: https://github.com/apache/spark/pull/33556#issuecomment-891569743


   @mridulm thx for your explain
   
   I test `DeflaterOutputStream`, there will be 8 bytes([120,-100,3,0,0,0,0,1]) 
here even if we don't write anything and I think I basically understand what 
you mean. 
   
   However, I have another question:If this scenario is what we need to 
consider,  should we need call `revertPartialWritesAndClose ` when `  
objectsWritten > 0` also?  otherwise these 8 bytes will also be written to the 
file ...


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