From 8a1c17f0027d44f7f2630dad65e69fd3b0cdf45e Mon Sep 17 00:00:00 2001 From: zouxxyy Date: Fri, 13 Dec 2024 20:16:00 +0800 Subject: [PATCH] 1 --- ...ommittableSerializerCompatibilityTest.java | 2 +- .../apache/paimon/table/source/SplitTest.java | 8 ++++---- .../test/resources/compatibility/datasplit-v3 | Bin 854 -> 886 bytes .../compatibility/manifest-committable-v4 | Bin 2953 -> 3145 bytes 4 files changed, 5 insertions(+), 5 deletions(-) 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 2c59a3bd1184e8c5b1f4579db7e77353390f1ed0..6b19fe2d958d3c80465def7a5e08d160210fc472 100644 GIT binary patch delta 70 zcmcb{_Kj_WJ|m;+WCKQ5)*B2!Fu97cg-rp-*ul7&g-MH1ju|8h1ZkP6IVpw=ZD866 LN*hnsVb%fwPEio` delta 39 scmeyyc8zU=J|m;*WCKQ5)*TEC42+Yj7+ctY3?SId!lcDG*^gNR0K$(5E&u=k diff --git a/paimon-core/src/test/resources/compatibility/manifest-committable-v4 b/paimon-core/src/test/resources/compatibility/manifest-committable-v4 index 4808bddc2c94a0315004bfeb3c689f7fda805454..9c095669a34b8806fa6ccf29d77b578c1631e117 100644 GIT binary patch delta 356 zcmeAaKPfRGhV=#m5KK&LVN(FoI~X^<)?(CQ28jVdT4riaiXlTAm^Oma#tdyhDMla~ O;acVJ2h-%sT-yM&l~fr3 delta 165 rcmX>p(J4M5hII!60|Vp4#1=Ln4FnrsYccWwX+|I#V5!MdxwilSL1`R_