yuqi1129 commented on code in PR #9982:
URL: https://github.com/apache/gravitino/pull/9982#discussion_r2811396246


##########
server/src/main/java/org/apache/gravitino/server/web/rest/TopicOperations.java:
##########
@@ -139,6 +142,12 @@ public Response createTopic(
             NameIdentifier ident =
                 NameIdentifierUtil.ofTopic(metalake, catalog, schema, 
request.getName());
 
+            // Make sure schema is imported, otherwise set owner for the topic 
may fail.
+            MetadataObjectUtil.checkMetadataObject(

Review Comment:
   Should we need to change `FilesetOperations` and `modelOperations` as well?



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