[
https://issues.apache.org/jira/browse/ATLAS-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886067#comment-16886067
]
Nixon Rodrigues commented on ATLAS-3319:
----------------------------------------
[~sjq1992] I verified the patch and this looks good. Can you please publish
this on reviews.apache.org to be reviewed by wider dev community.
Also send mail to [[email protected]|mailto:[email protected]] for Atlas
contributor-ship with Apache Jira id, so that this Jira can be owned by you.
> 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.14#76016)