[
https://issues.apache.org/jira/browse/ATLAS-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiaqi Shan updated ATLAS-3281:
------------------------------
Attachment: screenshot-1.png
> 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
> Fix For: 1.1.0
>
> Attachments: 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 display as
> follow:
> When {{excludeDeletedEndpoints}} is set to true, the lineage is display as
> follow:
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)