TungYuChiang commented on code in PR #5998:
URL: https://github.com/apache/gravitino/pull/5998#discussion_r1967482431
##########
core/src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java:
##########
@@ -152,8 +186,11 @@ public MetadataObject[] listMetadataObjectsForTag(String
metalake, String name)
public String[] listTagsForMetadataObject(String metalake, MetadataObject
metadataObject) {
// TODO: listTagsForMetadataObjectPreEvent
try {
- // TODO: listTagsForMetadataObjectEvent
- return dispatcher.listTagsForMetadataObject(metalake, metadataObject);
+ String[] tags = dispatcher.listTagsForMetadataObject(metalake,
metadataObject);
+ eventBus.dispatchEvent(
Review Comment:
That makes sense! I'll update the implementation accordingly.
--
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]