Jiaqi Shan created ATLAS-3319:
---------------------------------

             Summary: Add api to get lineage by uniqueAttributes
                 Key: ATLAS-3319
                 URL: https://issues.apache.org/jira/browse/ATLAS-3319
             Project: Atlas
          Issue Type: Improvement
          Components:  atlas-core
    Affects Versions: 2.0.0, 1.1.0
            Reporter: Jiaqi Shan
             Fix For: 2.0.0, 1.1.0


To get lineage of a hive table, we need to go through the following two steps:
 * Call get /v2/entity/bulk/uniqueAttribute/type/\{typeName} to get guid of the 
hive table
 * Call /v2/lineage/\{guid} to get lineage of the hive table


It seems that support getting lineage by uniqueAttributes will make api more 
easy to use. So we add the follow rest api to \{{LineageREST}}:

/v2/lineage/uniqueAttribute/type/\{typeName}

We also add the api to \{{AtlasClientV2}} accordingly



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to