Hi devs,

I would like to start a discussion on FLIP-347: Remove IOReadableWritable 
serialization in Path [1].


The Path class is currently mutable to support IOReadableWritable 
serialization. However, many parts 
of the code assume that the Path is immutable. By making the Path class 
immutable, we can ensure 
that paths are stored correctly without the possibility of mutation and 
eliminate the occurrence of subtle errors.
As such I propose to modify the Path class to no longer implement the 
IOReadableWritable interface.
Looking forward to your feedback.
[1] 
https://cwiki.apache.org/confluence/display/FLINK/FLIP-347%3A+Remove+IOReadableWritable+serialization+in+Path
Best regards,


Wencong Liu

Reply via email to