zhangjun0x01 opened a new pull request #2258:
URL: https://github.com/apache/iceberg/pull/2258


   Now, in `BaseFile`, there are some metrics, like `nullValueCounts`, 
`nanValueCounts` etc, they use `UnmodifiableMap`, resulting in flink 
serialization problems. For example, the `RewriteDataFilesAction` and streaming 
read function will failed,the issue is here(#2219 ). I checked some information 
and found that [spark has similar problems if using 
kryo.](https://stackoverflow.com/questions/46818293/how-to-set-unmodifiable-collection-serializer-of-kryo-in-spark-code),
   so I remove the `UnmodifiableMap`, and I tested that, the 
`RewriteDataFilesAction` will not throw exception.
   
   what do you think about this ? @rdblue 
   
   


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