prashantwason commented on code in PR #8758:
URL: https://github.com/apache/hudi/pull/8758#discussion_r1229096954


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/index/ScheduleIndexActionExecutor.java:
##########
@@ -100,15 +99,6 @@ public Option<HoodieIndexPlan> execute() {
       // get last completed instant
       Option<HoodieInstant> indexUptoInstant = 
table.getActiveTimeline().getContiguousCompletedWriteTimeline().lastInstant();
       if (indexUptoInstant.isPresent()) {
-        // start initializing file groups

Review Comment:
   I have updated the code in 
HoodieBackedTableMetadataWriter::initializeFromFilesystem()
   1. If the FILES partition is not initialized yet, it will always be 
initialized first 
   2. If a partition is already initialized, it will be ignored.
   
   Hence, if someone enable col stats using async indexer where metadata itself 
wasn't present for the data table of interest ==> Files partition will be 
initialized first followed by col-stats partition.



-- 
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]

Reply via email to