Hello, I created a ingestion from UI ingestion usi...
# ingestion
c
Hello, I created a ingestion from UI ingestion using transformes to set owner of datasets, but the only accepted values owners types are deprecated (DEVELOPER, CONSUMER, PRODUCER,...) I tried to pass "DATA_STEWARD", "TECHNICAL_OWNER", "BUSINESS_OWNER" a error ocurrs. Why? Below my part of yaml file. transformers: - type: simple_add_dataset_ownership config: owner_urns: - 'urnlicorpuser:XXXX.XXXX' ownership_type: DATA_STEWARD
h
Hi @cool-actor-73767 will you be able to share the exact error ? Also what is your datahub version ? Ownership types DATA_STEWARD, etc are added in version 0.8.30 and hence will not work if you are on older version.
s
Hi. I am also facing the same issue while ingesting through cli, I am on v0.8.38 of DataHub and 0.8.38 of Python client. The ingestion runs smoothly when
DATAOWNER
is provided but it crashes with the following exception when I set it to
DATA_STEWARD
Unexpected ownership type: DATA_STEWARD
h
@strong-vase-42460 datahub gms version is v0.8.38 ?
The enumeration types have not been updated here.
h
yeah
@strong-vase-42460 will you be willing to make the required change and raise PR to fix this ?
s
Unfortunately, I don't have much experience with DataHub's code base but I can try. Will post it here. Btw, I had sent the description to Maggie too, just in case someone had already gone through this.
@hundreds-photographer-13496 https://github.com/datahub-project/datahub/pull/5209 Let me know if this is the right way. Thanks
c
@hundreds-photographer-13496 @strong-vase-42460 Hi. I'm using v0.8.38 version. When will we have a version with the fix?
s
@cool-actor-73767 The fix is available as part of v0.8.39 of DataHub and 0.8.38.5 of acryl-datahub's python client.