tengqm commented on code in PR #6057:
URL: https://github.com/apache/gravitino/pull/6057#discussion_r1900312736
##########
core/src/main/java/org/apache/gravitino/storage/relational/service/MetadataObjectService.java:
##########
@@ -52,7 +52,7 @@ public static long getMetadataObjectId(
List<String> names = DOT_SPLITTER.splitToList(fullName);
if (type == MetadataObject.Type.ROLE) {
- return
RoleMetaService.getInstance().getRoleIdByMetalakeIdAndName(metalakeId,
names.get(0));
+ return
RoleMetaService.getInstance().getRoleIdByMetalakeIdAndName(metalakeId,
fullName);
}
Review Comment:
move 54-56 before 53 so that this is easier to understand?
--
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]