danny0405 commented on code in PR #8684: URL: https://github.com/apache/hudi/pull/8684#discussion_r1220774838
########## hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java: ########## @@ -1453,7 +1453,11 @@ public static String deleteMetadataTablePartition(HoodieTableMetaClient dataMeta * @return The fileID */ public static String getFileIDForFileGroup(MetadataPartitionType partitionType, int index) { - return String.format("%s%04d", partitionType.getFileIdPrefix(), index); + if (partitionType == MetadataPartitionType.FILES) { + return String.format("%s%04d-%d", partitionType.getFileIdPrefix(), index, 0); + } else { Review Comment: What is the purpos of extra suffix `-0` for `FILES` file group? -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org