codope commented on code in PR #10352:
URL: https://github.com/apache/hudi/pull/10352#discussion_r1584910757
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -403,6 +400,13 @@ private boolean initializeFromFilesystem(String
initializationTime, List<Metadat
ValidationUtils.checkState(functionalIndexPartitionsToInit.size()
== 1, "Only one functional index at a time is supported for now");
fileGroupCountAndRecordsPair =
initializeFunctionalIndexPartition(functionalIndexPartitionsToInit.iterator().next());
break;
+ case PARTITION_STATS:
+ if
(dataWriteConfig.getColumnsEnabledForColumnStatsIndex().isEmpty()) {
+ LOG.warn("Skipping partition stats index initialization as
target columns are not set");
+ continue;
+ }
+ fileGroupCountAndRecordsPair =
initializePartitionStatsIndex(partitionInfoList);
+ break;
Review Comment:
Agree. Will do it in HUDI-7691
--
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]