dengzhhu653 commented on code in PR #6549:
URL: https://github.com/apache/hive/pull/6549#discussion_r3532842223
##########
ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java:
##########
@@ -1002,6 +1003,11 @@ public static ReadEntity addInput(Set<ReadEntity>
inputs, ReadEntity newInput, b
assert false;
} else {
inputs.add(newInput);
+ try {
+ AuthorizationUtils.addAvroSchemaUrlInputForReadEntity(inputs,
newInput);
+ } catch (SemanticException e) {
+ throw new RuntimeException("Failed to authorize avro.schema.url for "
+ newInput.getName(), e);
Review Comment:
we don't need this catch if we remove SemanticException from this 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]