Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ public void testUpdateRejectForClustering() throws IOException {

// 3. insert one record with no updating reject exception, and not merge the small file, just generate a new file group
String commitTime3 = "003";
insertBatchRecords(client, commitTime3, 1, 1).getKey();
insertBatchRecords(client, commitTime3, 1, 1);
List<String> fileGroupIds2 = table.getFileSystemView().getAllFileGroups(testPartitionPath)
.map(fileGroup -> fileGroup.getFileGroupId().getFileId()).collect(Collectors.toList());
assertEquals(3, fileGroupIds2.size());
Expand All @@ -1178,7 +1178,7 @@ public void testUpdateRejectForClustering() throws IOException {
String assertMsg = String.format("Not allowed to update the clustering files in partition: %s "
+ "For pending clustering operations, we are not going to support update for now.", testPartitionPath);
assertThrows(HoodieUpsertException.class, () -> {
writeClient.upsert(jsc.parallelize(insertsAndUpdates3, 1), commitTime3).collect(); }, assertMsg);
writeClient.upsert(jsc.parallelize(insertsAndUpdates3, 1), commitTime4).collect(); }, assertMsg);

// 5. insert one record with no updating reject exception, will merge the small file
String commitTime5 = "005";
Expand Down