Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Product owner type in Datahub CLI read incorrectly #10584

Open
rospe opened this issue May 24, 2024 · 1 comment
Open

Data Product owner type in Datahub CLI read incorrectly #10584

rospe opened this issue May 24, 2024 · 1 comment
Labels
accepted An Issue that is confirmed as a bug by the DataHub Maintainers. bug Bug report

Comments

@rospe
Copy link

rospe commented May 24, 2024

Describe the bug
The Datahub CLI data product diff command does not respect different roles for owners. It tries to change both owners to the same owner type. In this case below it tries to change business_owner to technical_owner.
In my case the owners are equal, maybe this is part of the bug.

See

owners:
   - id: urn:li:corpGroup:fcde7074-8ee2-4a87-8902-27073d58695d
-    type: BUSINESS_OWNER
+    type: TECHNICAL_OWNER
   - id: urn:li:corpGroup:fcde7074-8ee2-4a87-8902-27073d58695d
     type: TECHNICAL_OWNER

To Reproduce
Steps to reproduce the behavior:

  1. Create a data product, add two owner roles, e.g. business owner and technical owner.
  2. run datahub dataproduct diff -f pet_clinic_sample.yaml

Expected behavior
keep the owners as they are.

Additional context
tested in Datahub 0.13.3 and 0.13.2. CLI version is acryl-datahub, version 0.13.2.4

@rospe rospe added the bug Bug report label May 24, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io

@github-actions github-actions bot added the stale label Jun 24, 2024
@shirshanka shirshanka added accepted An Issue that is confirmed as a bug by the DataHub Maintainers. and removed stale labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted An Issue that is confirmed as a bug by the DataHub Maintainers. bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants