jerryshao commented on code in PR #7476:
URL: https://github.com/apache/gravitino/pull/7476#discussion_r2250302300
##########
clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoMetalake.java:
##########
@@ -545,6 +546,28 @@ public boolean deleteTag(String name) {
return resp.dropped();
}
+ /**
+ * List all metadata objects associated with the specified tags.
+ *
+ * @param tagNames Array of tag names to query for associated objects.
+ * @return Array of metadata objects associated with the specified tags.
+ * @throws NoSuchTagException If any of the specified tags do not exist.
+ */
+ @Override
+ public MetadataObject[] listMetadataObjectsForTags(String[] tagNames) throws
NoSuchTagException {
+ String tagsParam = String.join(",", tagNames);
Review Comment:
If the tag name contains ",", then using "," to separate will have an issue.
--
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]