Hi, I wonder if someone could give me a hint as to how to update dataset fields descriptions via API.
I’ve run into a problem trying to update a dataset field description using updateDescription
. I realize that it’s incubating, but the docs mention that it <Mutations | DataHub only supports Dataset Schema Fields, Containers>. So, I thought it should work, but looks like I was wrong. My mutation (I used GraphQL) looks like this:
updateDescription(
input: {
description: "My description",
resourceUrn: "urn:this:is:(urn:some:urn:),fieldname)"
}
)
}```
The response I get is:
“message”: “An unknown error occurred.”```
and
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}```
What am I doing wrong? And is there a better way to add/change field descriptions programmatically?