Unable to create hierarchy of entities using REST API upload

Ramkumar Ranganathan 6 Reputation points
2021-10-11T07:20:50.483+00:00

We are trying to create a Hierarchy of entities of our on premise data flows.

We have successfully created entities such as Hive Server, Hive Database and Hive Table using POST request - {Endpoint}/catalog/api/atlas/v2/entity. We have also established a relationship between them using POST request - {Endpoint}/catalog/api/atlas/v2/relationship.

However, we are unable to see linkage under Hierarchy in the Overview tab of an entity in Azure Purview Studio.

Could you please suggest on how to create linkage between entities so that it is visible in Azure Purview Studio.

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
947 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,422 Reputation points Microsoft Employee
    2021-10-11T21:34:37.017+00:00

    Hi @amkumarranganathan-0960,

    Welcome to Microsoft Q&A forum and thanks for posting your query.

    The hierarchy shortcut links are based on the Qualified Name.

    Example: For SQL server, you need to follow below pattern:

    mssql://server/database/schema/table#column  
    

    If you have followed the above convention for your Hive entities, and have entities that represent the entire path along that qualified name, then you should see the hierarchy even when you create it via the API.

    Hope this info helps. Do let us know us know if you have further query.

    ----------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    2 people found this answer helpful.