pvary commented on code in PR #3298:
URL: https://github.com/apache/hive/pull/3298#discussion_r875768254


##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/DDLOperationContext.java:
##########
@@ -51,8 +51,8 @@ public DDLOperationContext(HiveConf conf, Context context, 
DDLTask task, DDLWork
     this.console = console;
   }
 
-  public Hive getDb() {
-    return db;
+  public Hive getDb() throws HiveException {
+    return Hive.getCurrHiveDb(db, conf);

Review Comment:
   Is there a situation when this is `null` or `closed`?



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