You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2021/02/03 17:27:39 UTC
[atlas] branch master updated: ATLAS-4123: Handle create/drop
materialized view queries in hive hook
This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 0b02bd9 ATLAS-4123: Handle create/drop materialized view queries in hive hook
0b02bd9 is described below
commit 0b02bd9f21eab4354b7d8479e05a38db75e5e1a0
Author: sidmishra <si...@cloudera.com>
AuthorDate: Tue Feb 2 16:59:21 2021 -0800
ATLAS-4123: Handle create/drop materialized view queries in hive hook
Signed-off-by: Sarath Subramanian <sa...@apache.org>
---
.../hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
index e48967d..79e87c7 100644
--- a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
+++ b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
@@ -201,10 +201,12 @@ public class HiveHook extends AtlasHook implements ExecuteWithHookContext {
case DROPTABLE:
case DROPVIEW:
+ case DROP_MATERIALIZED_VIEW:
event = new DropTable(context);
break;
case CREATETABLE_AS_SELECT:
+ case CREATE_MATERIALIZED_VIEW:
case CREATEVIEW:
case ALTERVIEW_AS:
case LOAD: