This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new ce039c9299d [MINOR] Update HoodieMetadataPayload bloom index error
message (#10757)
ce039c9299d is described below
commit ce039c9299d56e9e4a67dc26cb18e3eece7b0feb
Author: Sagar Sumit <[email protected]>
AuthorDate: Tue Feb 27 03:53:16 2024 +0530
[MINOR] Update HoodieMetadataPayload bloom index error message (#10757)
---
.../src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java
b/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java
index 10c094fdfb6..1139d9cdc4f 100644
---
a/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java
+++
b/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java
@@ -217,7 +217,7 @@ public class HoodieMetadataPayload implements
HoodieRecordPayload<HoodieMetadata
// 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),