MichaelChirico commented on pull request #28379:
URL: https://github.com/apache/spark/pull/28379#issuecomment-621725657


   New & old `writeObject` differ for this input:
   
   ```
   x = c(1:2, NA)
   
   # old
   rc = rawConnection(raw(), 'rb')
   writeObject(rc, x)
   rawConnectionValue(rc)
   # 6169000000030000000100000002
   close(rc)
   
   # new
   rc = rawConnection(raw(), 'rb')
   writeObject(x, rc)
   rawConnectionValue(rc)
   # 616900000003000000010000000280000000
   close(rc)
   ```
   
   However, the old code throws a warning in this case, so I doubt that such 
input was observed previously.


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

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