dantongdong commented on a change in pull request #2389: URL: https://github.com/apache/hive/pull/2389#discussion_r651998832
########## File path: ql/src/java/org/apache/hadoop/hive/ql/ddl/database/create/CreateDatabaseAnalyzer.java ########## @@ -78,10 +78,17 @@ public void analyzeInternal(ASTNode root) throws SemanticException { ASTNode nextNode = (ASTNode) root.getChild(i); connectorName = ((ASTNode)nextNode).getChild(0).getText(); outputs.add(toWriteEntity(connectorName)); - if (managedLocationUri != null) { - outputs.remove(toWriteEntity(managedLocationUri)); - managedLocationUri = null; + + // HIVE-2436: Reject location and managed locations in DDL for REMOTE databases. Review comment: It was not the correct reference indeed. Will change -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org