dengzhhu653 commented on code in PR #6549:
URL: https://github.com/apache/hive/pull/6549#discussion_r3532839677


##########
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/AuthorizationUtils.java:
##########
@@ -307,4 +319,83 @@ public static HivePrivObjectActionType 
getActionType(Entity privObject) {
     return actionType;
   }
 
+  /**
+   * When a table or partition is read, add a DFS ReadEntity for its 
avro.schema.url if the
+   * schema would be fetched from a filesystem location at query time.
+   */
+  public static void addAvroSchemaUrlInputForReadEntity(Collection<ReadEntity> 
inputs,
+      ReadEntity readEntity) throws SemanticException {

Review Comment:
   nit: we can remove `SemanticException` from the method



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to