You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kr...@apache.org on 2022/01/28 11:29:08 UTC

[hive] branch master updated: HIVE-25906: Clean MaterializedViewCache after q test run (Krisztian Kasa, reviewed by Zoltan Haindrich)

This is an automated email from the ASF dual-hosted git repository.

krisztiankasa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new c6cf400  HIVE-25906: Clean MaterializedViewCache after q test run (Krisztian Kasa, reviewed by Zoltan Haindrich)
c6cf400 is described below

commit c6cf4004cef76885247d7bffde456338b0c22d90
Author: Krisztian Kasa <ka...@gmail.com>
AuthorDate: Fri Jan 28 12:28:50 2022 +0100

    HIVE-25906: Clean MaterializedViewCache after q test run (Krisztian Kasa, reviewed by Zoltan Haindrich)
---
 itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
index f3d804a..197c5c7 100644
--- a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
+++ b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
@@ -363,6 +363,7 @@ public class QTestUtil {
           continue;
         }
         db.dropTable(dbName, tblName, true, true, fsType == FsType.ENCRYPTED_HDFS);
+        HiveMaterializedViewsRegistry.get().dropMaterializedView(tblObj);
       }
     }