This is an automated email from the ASF dual-hosted git repository.
wombatukun 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 18ee6cd66b4f fix: Fix string handling on bloom index (#18240)
18ee6cd66b4f is described below
commit 18ee6cd66b4fcef35bf17acb7f3464306578a032
Author: Tim Brown <[email protected]>
AuthorDate: Mon Feb 23 22:17:29 2026 -0800
fix: Fix string handling on bloom index (#18240)
---
.../src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java
b/hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java
index 148439b006f6..7944f0018127 100644
---
a/hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java
+++
b/hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java
@@ -144,8 +144,8 @@ public enum MetadataPartitionType {
String.format("Valid %s record expected for type: %s",
SCHEMA_FIELD_ID_BLOOM_FILTER,
MetadataPartitionType.BLOOM_FILTERS.getRecordType()));
} else {
payload.bloomFilterMetadata = new HoodieMetadataBloomFilter(
- (String) bloomFilterRecord.get(BLOOM_FILTER_FIELD_TYPE),
- (String) bloomFilterRecord.get(BLOOM_FILTER_FIELD_TIMESTAMP),
+ bloomFilterRecord.get(BLOOM_FILTER_FIELD_TYPE).toString(),
+ bloomFilterRecord.get(BLOOM_FILTER_FIELD_TIMESTAMP).toString(),
(ByteBuffer)
bloomFilterRecord.get(BLOOM_FILTER_FIELD_BLOOM_FILTER),
(Boolean) bloomFilterRecord.get(BLOOM_FILTER_FIELD_IS_DELETED)
);