This is an automated email from the ASF dual-hosted git repository.
amestry pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 62c7024 ATLAS-4333: [MATERIALIZED VIEW]Column Lineage and
hive_process missing in case of CREATE MATERIALIZED VIEW query at Hive
62c7024 is described below
commit 62c702422f7523b662743a5e2de15ecef6a27c3c
Author: Radhika Kundam <[email protected]>
AuthorDate: Thu Jun 10 09:49:05 2021 -0700
ATLAS-4333: [MATERIALIZED VIEW]Column Lineage and hive_process missing in
case of CREATE MATERIALIZED VIEW query at Hive
---
.../main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
index 659417d..e5295f4 100644
---
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
+++
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
@@ -292,6 +292,7 @@ public class CreateHiveProcess extends BaseHiveEvent {
return entity != null && !context.isMetastoreHook()
&&
(context.getHiveOperation().equals(HiveOperation.CREATETABLE_AS_SELECT)
|| context.getHiveOperation().equals(HiveOperation.CREATEVIEW)
- || context.getHiveOperation().equals(HiveOperation.ALTERVIEW_AS));
+ || context.getHiveOperation().equals(HiveOperation.ALTERVIEW_AS)
+ ||
context.getHiveOperation().equals(HiveOperation.CREATE_MATERIALIZED_VIEW));
}
}