jerqi commented on code in PR #4879:
URL: https://github.com/apache/gravitino/pull/4879#discussion_r1778360169
##########
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/GroupMetaBaseSQLProvider.java:
##########
@@ -34,6 +36,40 @@ public String selectGroupIdBySchemaIdAndName(
+ " AND deleted_at = 0";
}
+ public String listGroupPOsByMetalake(@Param("metalakeName") String
metalakeName) {
+ return "SELECT gt.group_id as groupId, gt.group_name as groupName,
gt.metalake_id as metalakeId,"
+ + " gt.audit_info as auditInfo, gt.current_version as currentVersion,
gt.last_version as lastVersion,"
+ + " gt.deleted_at as deletedAt FROM "
+ + GROUP_TABLE_NAME
+ + " gt JOIN "
+ + MetalakeMetaMapper.TABLE_NAME
+ + " mt ON gt.metalake_id = mt.metalake_id WHERE mt.metalake_name =
#{metalakeName}"
Review Comment:
OK, removed.
--
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]