datahub
datahub copied to clipboard
Duplicated owners with the same type
Describe the bug When assigning owners through ingestion using a transformer, duplicate owners appear for users who were previously assigned as owners via the UI with the same ownership role.
To Reproduce Steps to reproduce the behavior:
- Assign an owner to a dataset via the UI. Example: assign user test1 as a Business Owner.
- Configure simple_add_dataset_ownership transformer with config:
semantics: PATCH
replace_existing: False
owner_urns:
- "urn:li:corpuser:[email protected]"
ownership_type: "BUSINESS_OWNER"
- Run ingestion with the transformer.
- Observe that the owner appears twice in the UI.
Expected behavior Only one owner should appear for the user, without duplicates.
Desktop (please complete the following information):
- DataHub version 1.3.0
@DmytroYurchuk , can you share the result of the following queries after assigning the owner from both UI and transformer
select * from metadata_aspect_v2 mav where urn = '
select * from metadata_aspect_v2 mav where urn = '