rdblue commented on code in PR #17260:
URL: https://github.com/apache/iceberg/pull/17260#discussion_r3599456221
##########
api/src/main/java/org/apache/iceberg/variants/SerializedArray.java:
##########
@@ -91,4 +92,22 @@ public ByteBuffer buffer() {
public String toString() {
return VariantArray.asString(this);
}
+
+ private Object writeReplace() {
+ return new SerializationProxy(this);
Review Comment:
All of the `Serialized` classes use a serialization proxy so that the
serialized form of the variant is used.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]