codope commented on code in PR #9872:
URL: https://github.com/apache/hudi/pull/9872#discussion_r1379931555
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -422,6 +445,9 @@ private boolean initializeFromFilesystem(String
initializationTime, List<Metadat
case RECORD_INDEX:
fileGroupCountAndRecordsPair = initializeRecordIndexPartition();
break;
+ case FUNCTIONAL_INDEX:
+ fileGroupCountAndRecordsPair =
initializeFunctionalIndexPartition();
Review Comment:
Right now, you can jsut create one partition with a create index command (or
using async indexer). So, the code assumes that user is not creating multiple
functional indexes in the same job but we can extend the functionality in a
followup. [HUDI-7026](https://issues.apache.org/jira/browse/HUDI-7026) to track.
--
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]