jerryshao commented on code in PR #10913:
URL: https://github.com/apache/gravitino/pull/10913#discussion_r3200133656
##########
core/src/main/java/org/apache/gravitino/storage/relational/mapper/RoleMetaMapper.java:
##########
@@ -93,4 +94,10 @@ Integer updateRoleMeta(
method = "deleteRoleMetasByLegacyTimeline")
Integer deleteRoleMetasByLegacyTimeline(
@Param("legacyTimeline") Long legacyTimeline, @Param("limit") int limit);
+
+ @UpdateProvider(type = RoleMetaSQLProviderFactory.class, method =
"touchRoleUpdatedAt")
+ void touchUpdatedAt(@Param("roleId") long roleId);
+
+ @SelectProvider(type = RoleMetaSQLProviderFactory.class, method =
"batchGetRoleUpdatedAt")
+ List<RoleUpdatedAt> batchGetUpdatedAt(@Param("roleIds") List<Long> roleIds);
Review Comment:
Can you align the method name to the same one, like `touchRoleUpdatedAt` and
`touchRoleUpdatedAt`
--
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]