You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2021/08/31 18:00:39 UTC

[atlas] 03/03: ATLAS-4406: Ignore configs:- A hive table DDL entity is created for ignored hive tables

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

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

commit e962143866f69ad96a2207e07a5f0ce1d2e4797e
Author: Disha Talreja <di...@cloudera.com>
AuthorDate: Thu Aug 26 22:10:08 2021 -0400

    ATLAS-4406: Ignore configs:- A hive table DDL entity is created for ignored hive tables
---
 .../org/apache/atlas/notification/preprocessor/HivePreprocessor.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webapp/src/main/java/org/apache/atlas/notification/preprocessor/HivePreprocessor.java b/webapp/src/main/java/org/apache/atlas/notification/preprocessor/HivePreprocessor.java
index bf6a623..083e343 100644
--- a/webapp/src/main/java/org/apache/atlas/notification/preprocessor/HivePreprocessor.java
+++ b/webapp/src/main/java/org/apache/atlas/notification/preprocessor/HivePreprocessor.java
@@ -71,6 +71,7 @@ public class HivePreprocessor {
                     context.addToIgnoredEntities(entity.getAttribute(ATTRIBUTE_SD));
                     context.addToIgnoredEntities(entity.getAttribute(ATTRIBUTE_COLUMNS));
                     context.addToIgnoredEntities(entity.getAttribute(ATTRIBUTE_PARTITION_KEYS));
+                    context.addToIgnoredEntities(entity.getAttribute(TYPE_HIVE_TABLE_DDL));
                 } else if (action == PreprocessAction.PRUNE) {
                     context.addToPrunedEntities(entity);