[ 
https://issues.apache.org/jira/browse/ATLAS-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiaqi Shan updated ATLAS-3319:
------------------------------
    Flags:   (was: Patch)

> 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: 1.1.0, 2.0.0
>            Reporter: Jiaqi Shan
>            Priority: Major
>         Attachments: ATLAS-3319.patch
>
>
> 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