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

fix(ingest): make user_urn and group_urn generation consider user and… #9026

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

shirshanka
Copy link
Contributor

… group urn prefixes

User and Group urn generation helpers need to take into account all "Identity" urns to avoid double prefixing.

e.g.
make_user_urn("urn:li:corpGroup:foo") should return urn:li:corpGroup:foo

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Oct 17, 2023
@treff7es
Copy link
Contributor

@shirshanka tests are failing on this pr

@maggiehays maggiehays added the hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ label Oct 26, 2023
@anshbansal anshbansal added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Dec 14, 2023
@anshbansal anshbansal merged commit ecef50f into datahub-project:master Dec 14, 2023
51 checks passed
Salman-Apptware pushed a commit to Salman-Apptware/datahub that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ ingestion PR or Issue related to the ingestion of metadata merge-pending-ci A PR that has passed review and should be merged once CI is green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants