tengqm commented on code in PR #6531:
URL: https://github.com/apache/gravitino/pull/6531#discussion_r1971156175
##########
authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationHDFSPlugin.java:
##########
@@ -278,10 +278,10 @@ private void
removeSchemaMetadataObject(AuthorizationMetadataObject authzMetadat
authzMetadataObject instanceof PathBasedMetadataObject,
"The metadata object must be a PathBasedMetadataObject");
Preconditions.checkArgument(
- authzMetadataObject.type() == SCHEMA, "The metadata object type must
be SCHEMA");
+ authzMetadataObject.type() == SCHEMA, "The metadata object type must
be a schema");
Preconditions.checkArgument(
authzMetadataObject.names().size() == 1,
- "The size of the metadata object's name must be 1.");
+ "The size of the metadata object's size must be 1.");
Review Comment:
Check this again?
##########
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:
Em ... What is "metadata object size"?
--
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]