jzhuge opened a new pull request #549: Add Spark custom Kryo registrator
URL: https://github.com/apache/incubator-iceberg/pull/549
 
 
   Kryo can't handle guava ImmutableList and ImmutableMap. This commit add a 
Spark custom Kryo registrator for these classes used by GenericDataFile.
   
   Unit test `TestKryoSerialization ` adapted from the one in #546.
   
   A downstream project works fine after adding this Spark conf:
   ```
   spark.kryo.registrator                                   
org.apache.iceberg.spark.SparkKryoRegistrator
   ```
   
   Fixes #446.
   
   This PR replaces #546 that may be merged first before the release.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to