Hey, a question about creating dataset stats (for ...
# ingestion
a
Hey, a question about creating dataset stats (for a source that doesn't support it automatically). I'd like to create them programatically using python client. Is there a way to do so (interface to submit stats attached to dataset)? Here's what I want end up with:
g
Yup that’s possible! You can use the emitter submit metadata to DataHub - here’s an example of that https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/examples/library/dataset_set_tag.py. In your case, you’ll need aspect name
datasetProfile
and aspect should be a subclass of
DatasetProfileClass
Let me know if you have any questions - the emitter interface is a bit tricky to navigate
a
Thanks a lot, I'll check it!:)