You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/05/03 12:35:21 UTC
[GitHub] [hive] asinkovits commented on a diff in pull request #3083: HIVE-23391: Non blocking ADD COLUMN implementation
asinkovits commented on code in PR #3083:
URL: https://github.com/apache/hive/pull/3083#discussion_r863725509
##########
ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java:
##########
@@ -3592,4 +3592,84 @@ public void testDropTableNonBlocking2() throws Exception {
driver.getFetchTask().fetch(res);
Assert.assertEquals("No records found", 2, res.size());
}
+
+ @Test
+ public void testAddColumnsNonBlocking() throws Exception {
+ testAddColumns(false);
+ }
+ @Test
+ public void testAddColumnsBlocking() throws Exception {
+ testAddColumns(true);
+ }
+
+ private void testAddColumns(boolean blocking) throws Exception {
+ dropTable(new String[] {"tab_acid", "tab_acid_v2"});
+
Review Comment:
I don't see tab_acid_v2 being used anywhere.
--
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: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org