dengzhhu653 commented on code in PR #6287:
URL: https://github.com/apache/hive/pull/6287#discussion_r2776570976
##########
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestReplChangeManager.java:
##########
@@ -249,6 +249,7 @@ public void testRecycleNonPartTable() throws Exception {
db.putToParameters(SOURCE_OF_REPLICATION, "1, 2, 3");
db.setName(dbName);
client.createDatabase(db);
+ db = client.getDatabase(dbName);
Review Comment:
Yeah, that requires a new API, which I don't want to mess it in this PR.
If we don't fetch back the `db`, the location in `db` is null, causing the
test fail. Before this PR, we will set the location for the same `db` as the
client is embedded, this shouldn't be possible if the client connects to a
remote Metastore.
--
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]