ChisomUma commented on code in PR #10661:
URL: https://github.com/apache/gravitino/pull/10661#discussion_r3086051389


##########
api/src/main/java/org/apache/gravitino/tag/TagOperations.java:
##########
@@ -78,9 +78,10 @@ Tag createTag(String name, String comment, Map<String, 
String> properties)
    * @return The altered tag.
    * @throws NoSuchTagException If the tag does not exist.
    * @throws IllegalArgumentException If the changes cannot be applied to the 
tag.
+   * @throws TagAlreadyExistsException If a tag with the new name already 
exists.
    */
   Tag alterTag(String name, TagChange... changes)
-      throws NoSuchTagException, IllegalArgumentException;
+      throws NoSuchTagException, IllegalArgumentException, 
TagAlreadyExistsException;

Review Comment:
   Hi @jerryshao I've updated the python-client docstrings for the `alter_tag` 
method to indicate that `TagAlreadyExistsException` and 
`IllegalArgumentException` can be raised.



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