nsivabalan commented on code in PR #12529:
URL: https://github.com/apache/hudi/pull/12529#discussion_r1894049238
##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -232,6 +232,41 @@ public void buildIndexDefinition(HoodieIndexDefinition
indexDefinition) {
}
}
+ /**
+ * Builds expression index definition and writes to index definition file.
+ */
+ public boolean buildColSatsIndexDefinition(HoodieIndexDefinition
indexDefinition) {
+ String indexName = indexDefinition.getIndexName();
+ String indexMetaPath = getIndexDefinitionPath();
+ boolean updateIndexDefn = false;
+ if (indexMetadataOpt.isPresent()) {
+ if (indexMetadataOpt.get().getIndexDefinitions().containsKey(indexName))
{
Review Comment:
sure. will take a look
--
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]