Jiaqi Shan created ATLAS-3281:
---------------------------------

             Summary: 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
             Fix For: 1.1.0


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)

Reply via email to