diff --git a/paimon-core/src/test/java/org/apache/paimon/manifest/ManifestCommittableSerializerCompatibilityTest.java b/paimon-core/src/test/java/org/apache/paimon/manifest/ManifestCommittableSerializerCompatibilityTest.java index 5ae0a5182363..fbc02b2d73f2 100644 --- a/paimon-core/src/test/java/org/apache/paimon/manifest/ManifestCommittableSerializerCompatibilityTest.java +++ b/paimon-core/src/test/java/org/apache/paimon/manifest/ManifestCommittableSerializerCompatibilityTest.java @@ -136,7 +136,7 @@ public void testCompatibilityToVersion4() throws IOException { 11L, new byte[] {1, 2, 4}, FileSource.COMPACT, - null); + Arrays.asList("field1", "field2", "field3")); List dataFiles = Collections.singletonList(dataFile); LinkedHashMap dvMetas = new LinkedHashMap<>(); diff --git a/paimon-core/src/test/java/org/apache/paimon/table/source/SplitTest.java b/paimon-core/src/test/java/org/apache/paimon/table/source/SplitTest.java index 80d02019ee79..359d38c973db 100644 --- a/paimon-core/src/test/java/org/apache/paimon/table/source/SplitTest.java +++ b/paimon-core/src/test/java/org/apache/paimon/table/source/SplitTest.java @@ -279,17 +279,17 @@ public void testSerializerCompatibleV3() throws Exception { 11L, new byte[] {1, 2, 4}, FileSource.COMPACT, - null); + Arrays.asList("field1", "field2", "field3")); List dataFiles = Collections.singletonList(dataFile); + DeletionFile deletionFile = new DeletionFile("deletion_file", 100, 22, null); + List deletionFiles = Collections.singletonList(deletionFile); + BinaryRow partition = new BinaryRow(1); BinaryRowWriter binaryRowWriter = new BinaryRowWriter(partition); binaryRowWriter.writeString(0, BinaryString.fromString("aaaaa")); binaryRowWriter.complete(); - DeletionFile deletionFile = new DeletionFile("deletion_file", 100, 22, null); - List deletionFiles = Collections.singletonList(deletionFile); - DataSplit split = DataSplit.builder() .withSnapshot(18) diff --git a/paimon-core/src/test/resources/compatibility/datasplit-v3 b/paimon-core/src/test/resources/compatibility/datasplit-v3 index 2c59a3bd1184..6b19fe2d958d 100644 Binary files a/paimon-core/src/test/resources/compatibility/datasplit-v3 and b/paimon-core/src/test/resources/compatibility/datasplit-v3 differ diff --git a/paimon-core/src/test/resources/compatibility/manifest-committable-v4 b/paimon-core/src/test/resources/compatibility/manifest-committable-v4 index 4808bddc2c94..9c095669a34b 100644 Binary files a/paimon-core/src/test/resources/compatibility/manifest-committable-v4 and b/paimon-core/src/test/resources/compatibility/manifest-committable-v4 differ