jerryshao commented on code in PR #12162:
URL: https://github.com/apache/gravitino/pull/12162#discussion_r3636028316


##########
api/src/main/java/org/apache/gravitino/tag/TagOperations.java:
##########
@@ -70,6 +70,22 @@ public interface TagOperations {
   Tag createTag(String name, String comment, Map<String, String> properties)
       throws TagAlreadyExistsException;
 
+  /**
+   * Create a tag under a metalake.
+   *
+   * @param name The name of the tag.
+   * @param comment The comment of the tag.
+   * @param properties The properties of the tag.
+   * @param allowedValues The allowed assignment values of the tag.
+   * @return The created tag.
+   * @throws TagAlreadyExistsException If the tag already exists.
+   */
+  default Tag createTag(
+      String name, String comment, Map<String, String> properties, String[] 
allowedValues)
+      throws TagAlreadyExistsException {
+    return createTag(name, comment, properties);

Review Comment:
   Are you going to change this in the next PR?



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