pvary commented on a change in pull request #1920:
URL: https://github.com/apache/iceberg/pull/1920#discussion_r551792447
##########
File path: core/src/main/java/org/apache/iceberg/BaseTable.java
##########
@@ -217,4 +218,13 @@ public LocationProvider locationProvider() {
public String toString() {
return name();
}
+
+ Object writeReplace() throws ObjectStreamException {
+ return new StaticTable(ops.io(), name(),
ops.current().metadataFileLocation());
+ }
+
+ void init(TableOperations tableOperations, String tableName) {
+ this.ops = tableOperations;
+ this.name = tableName;
+ }
Review comment:
After moving to the `TableStub` solution removed this change
----------------------------------------------------------------
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]