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 b612a94  ATLAS-4398: Add additional path types to Hive DDL filter
b612a94 is described below

commit b612a9458004ee6601a6ad58d7ec88f8b322a49e
Author: Radhika Kundam <[email protected]>
AuthorDate: Fri Aug 20 09:19:52 2021 -0700

    ATLAS-4398: Add additional path types to Hive DDL filter
    
    Signed-off-by: Sarath Subramanian <[email protected]>
---
 .../java/org/apache/atlas/hive/hook/utils/HiveDDLEntityFilter.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/utils/HiveDDLEntityFilter.java
 
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/utils/HiveDDLEntityFilter.java
index 25a5085..0f9aa45 100644
--- 
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/utils/HiveDDLEntityFilter.java
+++ 
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/utils/HiveDDLEntityFilter.java
@@ -43,8 +43,12 @@ public class HiveDDLEntityFilter implements EntityFilter {
 
     private static final Set<String> defaultPathTypesToRetain = new 
HashSet<String>() {{
         add(AtlasPathExtractorUtil.HDFS_TYPE_PATH);
+        add(AtlasPathExtractorUtil.ADLS_GEN2_ACCOUNT);
+        add(AtlasPathExtractorUtil.ADLS_GEN2_CONTAINER);
         add(AtlasPathExtractorUtil.ADLS_GEN2_DIRECTORY);
         add(AtlasPathExtractorUtil.GCS_VIRTUAL_DIR);
+        add(AtlasPathExtractorUtil.AWS_S3_BUCKET);
+        add(AtlasPathExtractorUtil.AWS_S3_V2_BUCKET);
         add(AtlasPathExtractorUtil.AWS_S3_V2_PSEUDO_DIR);
         add(AtlasPathExtractorUtil.AWS_S3_PSEUDO_DIR);
         add(AtlasPathExtractorUtil.OZONE_KEY);

Reply via email to