georgereuben commented on code in PR #8026:
URL: https://github.com/apache/gravitino/pull/8026#discussion_r2267505961
##########
server/src/main/java/org/apache/gravitino/server/web/filter/GravitinoInterceptionService.java:
##########
@@ -234,10 +234,8 @@ private Map<Entity.EntityType, NameIdentifier>
extractNameIdentifierFromParamete
NameIdentifierUtil.ofFileset(metalake, catalog, schema,
fileset));
break;
case MODEL:
- String model = entities.get(Entity.EntityType.MODEL);
nameIdentifierMap.put(
- Entity.EntityType.MODEL,
- NameIdentifierUtil.ofModel(metadata, catalog, schema,
model));
+ Entity.EntityType.MODEL,
NameIdentifierUtil.ofMetalake(metalake));
Review Comment:
no need to change the identifier, that'd lead to issues. You just need to
replace `metadata` with `metalake` in the `ofModel` parameters in the original
code.
--
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]