LuciferYang commented on code in PR #13683:
URL: https://github.com/apache/gravitino/pull/13683#discussion_r4207230367


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/MetadataIdConverter.java:
##########
@@ -50,6 +50,8 @@ public class MetadataIdConverter {
           MetadataObject.Type.MODEL, Capability.Scope.MODEL,
           MetadataObject.Type.FILESET, Capability.Scope.FILESET,
           MetadataObject.Type.TOPIC, Capability.Scope.TOPIC,
+          MetadataObject.Type.VIEW, Capability.Scope.VIEW,
+          MetadataObject.Type.FUNCTION, Capability.Scope.FUNCTION,

Review Comment:
   Fixed: view and function cache keys are now built from the normalized 
identifier, as for semantic models. 
`testViewAndFunctionCacheKeysUseNormalizedSchema` warms the cache through an 
upper-case schema, invalidates by the stored name as the rename and drop hooks 
do, and checks that the next lookup gets the new id.



-- 
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]

Reply via email to