Skip to content

Commit

Permalink
[MINOR] Update HoodieMetadataPayload bloom index error message (#10757)
Browse files Browse the repository at this point in the history
  • Loading branch information
codope authored Feb 26, 2024
1 parent 9cfbbf2 commit ce039c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public HoodieMetadataPayload(Option<GenericRecord> recordOpt) {
// Otherwise, it has to be present or the record would be considered invalid
if (bloomFilterRecord == null) {
checkArgument(record.getSchema().getField(SCHEMA_FIELD_ID_BLOOM_FILTER) == null,
String.format("Valid %s record expected for type: %s", SCHEMA_FIELD_ID_BLOOM_FILTER, METADATA_TYPE_COLUMN_STATS));
String.format("Valid %s record expected for type: %s", SCHEMA_FIELD_ID_BLOOM_FILTER, METADATA_TYPE_BLOOM_FILTER));
} else {
bloomFilterMetadata = new HoodieMetadataBloomFilter(
(String) bloomFilterRecord.get(BLOOM_FILTER_FIELD_TYPE),
Expand Down

0 comments on commit ce039c9

Please sign in to comment.