Kontinuation commented on code in PR #5975:
URL: https://github.com/apache/iceberg/pull/5975#discussion_r995279026


##########
core/src/test/java/org/apache/iceberg/hadoop/TestTableSerialization.java:
##########
@@ -51,6 +52,15 @@ public void testSerializableTable() throws IOException, 
ClassNotFoundException {
     table.updateSchema().addColumn("new_col", 
Types.IntegerType.get()).commit();
 
     TestHelpers.assertSerializedAndLoadedMetadata(table, 
TestHelpers.roundTripSerialize(table));
+    Table serializableTable = SerializableTable.copyOf(table);
+    TestHelpers.assertSerializedAndLoadedMetadata(
+        serializableTable, 
TestHelpers.KryoHelpers.roundTripSerialize(serializableTable));
+
+    table.newAppend().appendFile(FILE_A).commit();

Review Comment:
   Moved serialization of table with snapshot to a new test.



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

Reply via email to