Forum Discussion

haliosg's avatar
haliosg
Copper Contributor
Oct 26, 2022

Create Lineage with Custom entities

Hi all,

 

Using the request POST https://{mycatalogname}.purview.azure.com/catalog/api/atlas/v2/entity

and the body below, i can sucessfully create lineager using inbuilt entities (azure_sql_tables, azure_sql_column, etc). But when i try to create lineage on custom entities it gives me the following error: 

"errorMessage""invalid relationshipDef: process_dataset_outputs: end type 1: DataSet, end type 2: Process"
{
  "entity": {
    "status""ACTIVE",
    "version"0,
    "typeName""Process",
    "attributes": {
        "inputs": [
            {"guid""d1b2c768-a673-4c70-a629-a91628410cbb"}
        ],
        "outputs": [
            {"guid""93656989-1417-4794-b102-cb438a943689"}
        ],
        "qualifiedName""apacheatlas://customlineage011134",
        "name""customlineage011134"
    }
  }
}
 
Could anyone assist with this?
 
Thanks 🙂 
  • haliosg's avatar
    haliosg
    Copper Contributor
    SOLVED: i forgot to include SuperType : Dataset when creating the entityDef

Resources