Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zouxxyy committed Dec 13, 2024
1 parent c096f72 commit 8a1c17f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void testCompatibilityToVersion4() throws IOException {
11L,
new byte[] {1, 2, 4},
FileSource.COMPACT,
null);
Arrays.asList("field1", "field2", "field3"));
List<DataFileMeta> dataFiles = Collections.singletonList(dataFile);

LinkedHashMap<String, DeletionVectorMeta> dvMetas = new LinkedHashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,17 @@ public void testSerializerCompatibleV3() throws Exception {
11L,
new byte[] {1, 2, 4},
FileSource.COMPACT,
null);
Arrays.asList("field1", "field2", "field3"));
List<DataFileMeta> dataFiles = Collections.singletonList(dataFile);

DeletionFile deletionFile = new DeletionFile("deletion_file", 100, 22, null);
List<DeletionFile> 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<DeletionFile> deletionFiles = Collections.singletonList(deletionFile);

DataSplit split =
DataSplit.builder()
.withSnapshot(18)
Expand Down
Binary file modified paimon-core/src/test/resources/compatibility/datasplit-v3
Binary file not shown.
Binary file not shown.

0 comments on commit 8a1c17f

Please sign in to comment.