hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aihu...@apache.org
Subject hive git commit: HIVE-15675: ql.hooks.TestQueryHooks failure (Jun He, reviewed by Peter Vary, Aihua Xu)
Date Fri, 03 Feb 2017 14:28:37 GMT
Repository: hive
Updated Branches:
  refs/heads/master 5d637a62b -> 7a3028502


HIVE-15675: ql.hooks.TestQueryHooks failure (Jun He, reviewed by Peter Vary, Aihua Xu)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/7a302850
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7a302850
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7a302850

Branch: refs/heads/master
Commit: 7a30285020f449de0532d6fda094f53d7d0ea987
Parents: 5d637a6
Author: Aihua Xu <aihuaxu@apache.org>
Authored: Fri Feb 3 09:25:15 2017 -0500
Committer: Aihua Xu <aihuaxu@apache.org>
Committed: Fri Feb 3 09:28:23 2017 -0500

----------------------------------------------------------------------
 .../test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java   | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/7a302850/ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java
----------------------------------------------------------------------
diff --git a/ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java b/ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java
index d7828fc..201622e 100644
--- a/ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java
+++ b/ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBCompact.java
@@ -32,6 +32,7 @@ import org.apache.hadoop.hive.ql.plan.AlterTableSimpleDesc;
 import org.apache.hadoop.hive.ql.plan.DDLWork;
 import org.apache.hadoop.hive.ql.session.SessionState;
 import org.junit.BeforeClass;
+import org.junit.AfterClass;
 import org.junit.Test;
 
 import java.io.Serializable;
@@ -69,6 +70,12 @@ public class TestQBCompact {
     h.createPartition(t, partSpec);
   }
 
+  @AfterClass
+  public static void deInit() throws Exception {
+    Hive h = Hive.get(conf);
+    h.dropTable("foo");
+  }
+
   private AlterTableSimpleDesc parseAndAnalyze(String query) throws Exception {
     ParseDriver hd = new ParseDriver();
     ASTNode head = (ASTNode)hd.parse(query).getChild(0);


Mime
View raw message