Skip to content

Commit

Permalink
[AMORO-2440] Fix the batch deletion of Change Store files for Mixed F…
Browse files Browse the repository at this point in the history
…ormat Table (#2439)

fix remove change files
  • Loading branch information
wangtaohz authored Dec 18, 2023
1 parent 2c95b7b commit f66a4b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private void tryClearChangeFiles(List<DataFile> changeFiles) {
LOG.info("{} delete {} change files", unkeyedTable.name(), tableFiles.size());
if (!tableFiles.isEmpty()) {
DeleteFiles changeDelete = unkeyedTable.newDelete();
changeFiles.forEach(changeDelete::deleteFile);
tableFiles.forEach(changeDelete::deleteFile);
changeDelete.commit();
}
LOG.info(
Expand Down

0 comments on commit f66a4b5

Please sign in to comment.