tengqm commented on code in PR #6531:
URL: https://github.com/apache/gravitino/pull/6531#discussion_r1972536536
##########
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:
I mean "The size of the metadata object's size" doesn't make sense ... WDYT?
--
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]