A0R0P0I7T commented on code in PR #9927:
URL: https://github.com/apache/gravitino/pull/9927#discussion_r2788340991


##########
api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java:
##########
@@ -38,44 +40,62 @@ public class Indexes {
    *
    * @param name The name of the index
    * @param fieldNames The field names under the table contained in the index.
+   * @param properties Extra properties for index configuration
    * @return The unique index
    */
-  public static Index unique(String name, String[][] fieldNames) {
-    return of(Index.IndexType.UNIQUE_KEY, name, fieldNames);
+  public static Index unique(String name, String[][] fieldNames, Map<String, 
String> properties) {

Review Comment:
   You're right, that’s a much better approach. Thank you for the insight!



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