mchades commented on code in PR #5844:
URL: https://github.com/apache/gravitino/pull/5844#discussion_r1886970535
##########
core/src/main/java/org/apache/gravitino/catalog/SchemaOperationDispatcher.java:
##########
@@ -350,6 +351,10 @@ private void importSchema(NameIdentifier identifier) {
.build();
try {
store.put(schemaEntity, true);
+ } catch (EntityAlreadyExistsException e) {
+ LOG.error("Failed to import schema {} with id {} to the store.",
identifier, uid, e);
+ throw new UnsupportedOperationException(
+ "The schema is already managed by another catalog and cannot be
loaded by the current catalog.");
Review Comment:
updated
--
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]