zhangyue19921010 commented on code in PR #13017:
URL: https://github.com/apache/hudi/pull/13017#discussion_r2011348569
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bucket/HoodieSimpleBucketIndex.java:
##########
@@ -152,14 +157,21 @@ protected Function<HoodieRecord,
Option<HoodieRecordLocation>> getIndexLocationF
private class SimpleBucketIndexLocationFunction implements
Function<HoodieRecord, Option<HoodieRecordLocation>> {
private final Map<Integer, HoodieRecordLocation> bucketIdToFileIdMapping;
+ private final boolean isPartitionBucketIndexEnable;
+ private PartitionBucketIndexCalculator calc;
public SimpleBucketIndexLocationFunction(HoodieTable table, String
partitionPath) {
this.bucketIdToFileIdMapping =
loadBucketIdToFileIdMappingForPartition(table, partitionPath);
+ String hashingInstantToLoad =
table.getConfig().getHashingConfigInstantToLoad();
Review Comment:
`getHashingConfigInstantToLoad` is belong to write config now, what
`table.getConfig()` return is `HoodieWriteConfig`
--
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]