LuciferYang commented on code in PR #13446:
URL: https://github.com/apache/gravitino/pull/13446#discussion_r4114146814


##########
core/src/test/java/org/apache/gravitino/utils/TestMetadataObjectUtil.java:
##########
@@ -325,6 +328,9 @@ public void 
testCheckMetadataObjectUsesInternalDispatchers() {
           "metalake", MetadataObjects.of(null, "job", 
MetadataObject.Type.JOB));
       MetadataObjectUtil.checkMetadataObject(
           "metalake", MetadataObjects.of(null, "template", 
MetadataObject.Type.JOB_TEMPLATE));
+      MetadataObjectUtil.checkMetadataObject(
+          "metalake",
+          MetadataObjects.of("catalog.schema", "sm", 
MetadataObject.Type.SEMANTIC_MODEL));

Review Comment:
   Renamed the test to `testCheckMetadataObjectConsultsDispatchers` in 
5db0d0ce2 and added a comment that SEMANTIC_MODEL is the one type resolved 
through the public dispatcher, since it has no internal variant.



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