xiaozcy commented on code in PR #7502:
URL: https://github.com/apache/gravitino/pull/7502#discussion_r2176309713
##########
catalogs/catalog-model/src/main/java/org/apache/gravitino/catalog/model/ModelCatalogOperations.java:
##########
@@ -477,7 +478,7 @@ private ModelVersionEntity updateModelVersionEntity(
.withModelIdentifier(entityModelIdentifier)
.withAliases(entityAliases)
.withComment(entityComment)
- .withUri(entityUri)
+ .withUris(ImmutableMap.of(ModelVersion.URI_NAME_UNKNOWN, entityUri))
Review Comment:
`URI_NAME_UNKNOWN` is used to be compatible with the usage of single URI,
it's the reserved URI name.
`PROPERTY_DEFAULT_URI_NAME` is the property of model and model version, the
value of the property indicates the default URI name of the model version.
--
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]