Hi, I'm just getting started in Datahub and being ...
# getting-started
g
Hi, I'm just getting started in Datahub and being a bit confused about the functionalities for graphql and mce. Graphql can also modify dataset metadata with "mutation". Is mce more powerful in changing metadata than graphql? ( currently I want to modify name and value in dataset's properties but cannot find appropriate interface in graphql)
b
Graphql functionality is currently developed to support UI operations. It will grow over time. If you can't do it in UI, you probably won't find it. You should use the examples in metadata ingestion to modify properties for now.
g
Using metadataChangeProposal in java, I find that I will overwrite the dataset with any operations. Saying the dataset have tags, the tags will disappear when I set dataset's documentation with the following code . I'm wondering if I'm using it right.
b
ok im not familiar with java operations. but in python, to avoid overwriting, you need to query for the existing values, then merge the new values in
g
The code is listed here
b
that is sending
g
Thanks, I will try it out!