Solved
Manually creating data lineage in Apache Atlas on CDP
I have two hive tables and I want to manually create a lineage relationship between them using the Atlas API.
I'm trying to run this POST request:
```
curl --location 'https://[url]/atlas/api/atlas/v2/entity' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data-raw '{
"entity": {
"typeName": "hive_process",
"qualifiedName": "my_etl_process@cluster",
"name": "my_etl_process",
"description": "ETL process from input_table to output_table",
"attributes": {
"inputs": [
{
"guid": "9768381b-8783-49c3-850d-39bf1f14b73f"
}
],
"outputs": [
{
"guid": "998de7ba-2254-418d-b405-656eba428643"
}
]
}
}
}
'
```
I'm getting this 404 response:
```
{
"errorCode": "ATLAS-404-00-007",
"errorMessage": "Invalid instance creation/updation parameters passed : hive_process.qualifiedName: mandatory attribute value missing in type Referenceable"
}
```
Any suggestions for how to manually create lineage using the API would be appreciated.

