mchades commented on code in PR #12499:
URL: https://github.com/apache/gravitino/pull/12499#discussion_r3831015122


##########
api/src/main/java/org/apache/gravitino/Catalog.java:
##########
@@ -255,6 +256,14 @@ default ViewCatalog asViewCatalog() throws 
UnsupportedOperationException {
     throw new UnsupportedOperationException("Catalog does not support view 
operations");
   }
 
+  /**
+   * @return the {@link SemanticModelCatalog} for Semantic Model operations.
+   * @throws UnsupportedOperationException if the catalog does not expose 
Semantic Model operations.

Review Comment:
   Good catch. The implementation already uses “does not support Semantic Model 
operations,” so I’ll align the `@return` and `@throws` Javadocs with the 
sibling `asXxxCatalog()` methods.



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