Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#6004] fix: use fullName instead of names.get(0) when get role #6057

Merged
merged 6 commits into from
Jan 7, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move 54-56 before 53 so that this is easier to understand?


long catalogId =
Expand Down