cshuo commented on code in PR #19359:
URL: https://github.com/apache/hudi/pull/19359#discussion_r3642840018
##########
hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java:
##########
@@ -510,7 +510,7 @@ public static boolean
isNewSecondaryIndexDefinitionRequired(HoodieMetadataConfig
return false;
}
// check the index definition already exists or not for this column
- List<HoodieIndexDefinition> indexDefinitions =
getIndexDefinitions(secondaryIndexColumn, PARTITION_NAME_SECONDARY_INDEX,
dataMetaClient);
+ List<HoodieIndexDefinition> indexDefinitions =
getIndexDefinitions(PARTITION_NAME_SECONDARY_INDEX, secondaryIndexColumn,
dataMetaClient);
Review Comment:
Thanks for pointing this out. I’ve updated the PR and commit titles,
Summary, and Impact section to clearly call out the production bug fix and its
behavior change.
--
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]