Skip to content

Commit

Permalink
[HUDI-8958] Enable record index validation by default (#12785)
Browse files Browse the repository at this point in the history
  • Loading branch information
linliu-code authored Feb 7, 2025
1 parent 2494bb7 commit d9a9f1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ public static class Config implements Serializable {
description = "Validate the number of entries in the record index, which should be equal "
+ "to the number of record keys in the latest snapshot of the table",
required = false)
public boolean validateRecordIndexCount = false;
public boolean validateRecordIndexCount = true;

@Parameter(names = {"--validate-record-index-content"},
description = "Validate the content of the record index so that each record key should "
+ "have the correct location, and there is no additional or missing entry",
required = false)
public boolean validateRecordIndexContent = false;
public boolean validateRecordIndexContent = true;

@Parameter(names = {"--validate-secondary-index"},
description = "Validate the entries in secondary index match the primary key for the records",
Expand Down

0 comments on commit d9a9f1e

Please sign in to comment.