Skip to content

Commit

Permalink
[MINOR] Add log to print wrong number of instant metadata files (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuanshenbsj1 authored and aib628 committed Dec 5, 2023
1 parent aff2634 commit 97f1324
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ protected ActiveAction(@Nullable HoodieInstant requested, @Nullable HoodieInstan
}

public static ActiveAction fromInstants(List<HoodieInstant> instants) {
ValidationUtils.checkArgument(instants.size() <= 3);
ValidationUtils.checkArgument(instants.size() <= 3,
"Number of instant metadata files should be <= 3: " + instants);
HoodieInstant requested = null;
HoodieInstant inflight = null;
HoodieInstant completed = null;
Expand Down

0 comments on commit 97f1324

Please sign in to comment.