mchades commented on code in PR #7842:
URL: https://github.com/apache/gravitino/pull/7842#discussion_r2262372357


##########
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/PolicyMetaBaseSQLProvider.java:
##########
@@ -73,6 +73,27 @@ public String listPolicyPOsByMetalakeAndPolicyNames(
         + "</script>";
   }
 
+  public String listDiffPolicyPOsByMetalakeIdAndPolicy(

Review Comment:
   When creating a policy, if the policy with the same type already exists, we 
should ensure that the specified immutable attributes (`exclusive`, 
`inheritable`, `supportedObjectTypes`) match those of the existing policy. The 
`listDiffPolicyPOsByMetalakeIdAndPolicy` method is used to check the 
differences between policies.



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