codope commented on code in PR #10352:
URL: https://github.com/apache/hudi/pull/10352#discussion_r1584894872
##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -372,6 +379,10 @@ public static Map<MetadataPartitionType,
HoodieData<HoodieRecord>> convertMetada
dataMetaClient, isColumnStatsIndexEnabled,
columnStatsIndexParallelism, targetColumnsForColumnStatsIndex);
partitionToRecordsMap.put(MetadataPartitionType.COLUMN_STATS,
metadataColumnStatsRDD);
}
+ if (enabledPartitionTypes.contains(MetadataPartitionType.PARTITION_STATS))
{
+ final HoodieData<HoodieRecord> partitionStatsRDD =
convertMetadataToPartitionStatsRecords(commitMetadata, context, dataMetaClient,
metadataConfig);
+ partitionToRecordsMap.put(MetadataPartitionType.PARTITION_STATS,
partitionStatsRDD);
+ }
Review Comment:
No. That's a very good point! Typically, we are enabling indexes one at a
time. But, I agree with you. I will work on it in HUDI-7690. Btw, this
limitation is only for initialization. In case of update, we don't compute
sequuentially.
--
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]