jerqi commented on code in PR #6531:
URL: https://github.com/apache/gravitino/pull/6531#discussion_r1972971025


##########
authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationHDFSPlugin.java:
##########
@@ -361,9 +361,9 @@ private void 
removeTableMetadataObject(AuthorizationMetadataObject authzMetadata
         authzMetadataObject instanceof PathBasedMetadataObject,
         "The metadata object must be a PathBasedMetadataObject");
     Preconditions.checkArgument(
-        authzMetadataObject.names().size() == 3, "The metadata object names 
must be 3");
+        authzMetadataObject.names().size() == 3, "The metadata object size 
must be 3");

Review Comment:
   Metadata object has a name identifier. The name identifier consists of 
names. This should be size of names instead of size of object.



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