danny0405 commented on code in PR #9886:
URL: https://github.com/apache/hudi/pull/9886#discussion_r1377054672
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -212,7 +212,7 @@ protected List<Pair<String, BloomIndexFileInfo>>
loadColumnRangesFromMetaIndex(
// also obtain file ranges, if range pruning is enabled
context.setJobStatus(this.getClass().getName(), "Load meta index key
ranges for file slices: " + config.getTableName());
- String keyField =
hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
+ String keyField =
HoodieRecord.HoodieMetadataField.RECORD_KEY_METADATA_FIELD.getFieldName();
Review Comment:
Do you think we need to throw exception if
`config.getColumnsEnabledForColumnStatsIndex()` does not contain the record
keys?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]