codope commented on code in PR #11162:
URL: https://github.com/apache/hudi/pull/11162#discussion_r1629990583


##########
hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/HoodieSparkFunctionalIndexClient.java:
##########
@@ -85,6 +85,7 @@ public void create(HoodieTableMetaClient metaClient, String 
indexName, String in
     if (indexExists(metaClient, indexName)) {
       throw new HoodieFunctionalIndexException("Index already exists: " + 
indexName);
     }
+    checkArgument(columns.size() == 1, "Only one column can be indexed for 
functional or secondary index.");

Review Comment:
   note: HUDI-7836 to track the support



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