SourabhBadhya commented on code in PR #5414:
URL: https://github.com/apache/hive/pull/5414#discussion_r1734166081
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -14375,7 +14375,11 @@ ASTNode analyzeCreateTable(
} catch (IOException ioE) {
LOG.debug("Exception when validate folder", ioE);
}
+ tblLocation = location;
Review Comment:
CTLT doesn't fail because we dont fetch the URI via storage handlers for
CTLT. Its only done for CTAS, Create statements and Alter table statements -
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/command/CommandAuthorizerV2.java#L203-L215
--
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]