[
https://issues.apache.org/jira/browse/ATLAS-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-3281:
------------------------------------
Fix Version/s: (was: 1.1.0)
> Allow excluding lineage related to deleted entities
> ---------------------------------------------------
>
> Key: ATLAS-3281
> URL: https://issues.apache.org/jira/browse/ATLAS-3281
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Affects Versions: 1.1.0
> Reporter: Jiaqi Shan
> Priority: Major
> Attachments: ATLAS-3281.patch, screenshot-1.png, screenshot-2.png
>
>
> If a hive_table was deleted, {{EntityLineageService.getAtlasLineageInfo}}
> will still return hive_process related to the table. But in some scenarios,
> we don't want to display hive_process related to deleted entities in web UI.
> So we propose to add a parameter {{excludeDeletedEndpoints}} to
> {{getLineageQuery.getLineageQuery}}. When set to true, the function will
> exclude lineages related to deleted entities. We also add the parameter to
> {{AtlasLineageService}},
> {{AtlasGremlinQueryProvider}},{{AtlasGremlin3QueryProvider}} and
> {{LineageREST}} accordingly.
> When {{excludeDeletedEndpoints}} is set to false, the lineage is displayed as
> follow:
> !screenshot-1.png!
> When {{excludeDeletedEndpoints}} is set to true, the lineage is displayed as
> follow:
> !screenshot-2.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)