To build a hierarchy relationship for Azure Data Lake Storage entities in Microsoft Purview, you will need to define the relationships between the various entity types such as azure_datalake_gen1_account, azure_datalake_gen1_resource_set, azure_datalake_gen1_object, and azure_datalake_gen1_path.
While the built-in entity types exist, the relationship definitions may not be explicitly provided in the relationshipAttributeDefs property for these entities. To establish these relationships, you can create custom relationship types that define how these entities interact with one another.
- Define Relationship Types: You can create custom relationship types that specify the nature of the relationship (e.g., composition, aggregation, association) between the entities.
- Use the
IsHierarchicalProperty: If you are implementing a self-referential one-to-many relationship, set theIsHierarchicalproperty totrueto enable hierarchy viewing and querying capabilities. - Implement Relationships: After defining the relationships, you can implement them in your data model, allowing you to query and visualize the hierarchical relationships effectively.
For more detailed guidance on creating custom types and relationships, refer to the Microsoft Purview documentation.