We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0593e23 commit 09ef6e0Copy full SHA for 09ef6e0
metadata-ingestion/src/datahub/ingestion/transformer/dataset_transformer.py
@@ -75,7 +75,11 @@ def update_if_keep_existing(
75
) -> None:
76
"""Check if user want to keep existing tags"""
77
if in_global_tags_aspect is not None and config.replace_existing is False:
78
- out_global_tags_aspect.tags.extend(in_global_tags_aspect.tags)
+ tags_seen = set()
79
+ for item in in_global_tags_aspect.tags:
80
+ if item.tag not in tags_seen:
81
+ out_global_tags_aspect.tags.append(item)
82
+ tags_seen.add(item.tag)
83
84
@staticmethod
85
def get_result_semantics(
0 commit comments