Purview How to use the Data side filter on Custom Type

Diego Poggioli 21 Reputation points
2023-12-01T11:46:31.4333333+00:00

We have created 3 custom EntityTypeDefs and the related AtlasEntities

• EntityTypeDef Database superTypes=["azure_resource"]
• EntityTypeDef Schema superTypes=["Asset"]
• EntityTypeDef Table superTypes=["DataSet"]

 

The Columns are connected to the Table via tabular_schema and the various assets are connected via RelationshipTypeDef.
However, we have noticed that by defining the types in this way we are unable to use the Data filter in the left menu. Is there a specific way to define custom types and assets so that I can use this filter (Database, File, Report, Table...)?

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.
1,056 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,326 Reputation points Microsoft Employee
    2023-12-06T12:58:27.0366667+00:00

    Hi

    Thank you for posting query in Microsoft Q&A Platform.

    It sounds like you have defined custom entity types and assets in Apache Atlas, but you are unable to use the data filter in the left menu to filter by database, file, report, table, etc.

    To enable filtering by these types, you need to ensure that your custom entity types inherit from the appropriate super types. For example, to enable filtering by database, you can define your custom entity type as follows:

    EntityTypeDef Database superTypes=["DataSet"]
    

    In this example, the Database entity type inherits from the DataSet super type, which enables it to be filtered by the "Table" filter in the left menu.

    Similarly, to enable filtering by file, you can define your custom entity type as follows:

    EntityTypeDef File superTypes=["DataSet"]
    

    In this example, the File entity type also inherits from the DataSet super type, which enables it to be filtered by the "Table" filter in the left menu.

    You can define your custom entity types in a similar way, ensuring that they inherit from the appropriate super types to enable filtering by the desired types.

    I hope this helps! Let me know if you have any further questions.