This is an automated email from the ASF dual-hosted git repository.
sarath 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 51485ec ATLAS-4398: Add additional path types to Hive DDL filter
51485ec is described below
commit 51485ece56cc45d78862de77ad09a52aa72d2d0c
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]>
(cherry picked from commit b612a9458004ee6601a6ad58d7ec88f8b322a49e)
---
.../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);