peter-toth commented on pull request #31682:
URL: https://github.com/apache/spark/pull/31682#issuecomment-787873126


   @maropu
   > Why can [spark-2](https://issues.apache.org/jira/browse/SPARK-2).4 handle 
it correctly?
   
   I think this is because Spark 2.4 uses pyrolite 4.13 where it looks the 
value comparison feature is missing?
   
https://github.com/irmen/Pyrolite/blob/pyrolite-4.13/java/src/main/java/net/razorvine/pickle/Pickler.java#L63-L70
 while in Spark 3.x we use pyrolite 4.30 that introduced? and enabled value 
comparison by default: 
https://github.com/irmen/Pyrolite/blob/pyrolite-4.30/java/src/main/java/net/razorvine/pickle/Pickler.java#L96-L122
   
   I think another option would be to disable the `valueCompare` explicitly.
   
   


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