How do i remark a dataset as "removed" ? The resu...
# ui
c
How do i remark a dataset as "removed" ? The result is that this dataset is no longer appear on UI
c
you can set its status to 'removed' by adding the status aspect to its snapshot.aspects array
Copy code
{
  "com.linkedin.common.Status": {
    "removed": true
  }
}
c
Do you mean that i should ingest this dataset again in a json file adding the status aspect above ?
b
you dont have to ingest the original json, just attach a new aspect to the dataset. something like this (adjust the urn to your dataset) would do
Copy code
{
  "snapshot": {
    "urn": "urn:li:dataset:(urn:li:dataPlatform:dataset,PROD)",
    "aspects": [      
      {
        "com.linkedin.common.Status": {
          "removed": True
        }
      },
    ]
  }
}
b
+1!