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

Clean up logic for dataset.py yaml loader #10089

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

eboneil
Copy link
Contributor

@eboneil eboneil commented Mar 20, 2024

Before this PR, this logic only allowed uploading structured properties, downstreams, tags, glossary terms, and owners to schema fields.

What this does:

  1. Moves that out to be on a dataset-level
  2. Keeps schema-level logic for attaching structured_properties, tags, terms
  3. Cleans up a few unused functions

Tested locally.

In a follow up PR I'll clean this up so there's not a mix of camel case and snake case for some of these fields. That requires some modification of pdl files so I won't include in this PR.

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 ingestion PR or Issue related to the ingestion of metadata smoke_test Contains changes related to smoke tests labels Mar 20, 2024
@eboneil eboneil marked this pull request as ready for review March 20, 2024 18:50
@eboneil eboneil merged commit 87169ba into master Mar 20, 2024
56 checks passed
@eboneil eboneil deleted the dataset-yaml-cleanup-eboneil branch March 20, 2024 21:41
dushayntAW pushed a commit to dushayntAW/datahub that referenced this pull request Mar 21, 2024
sleeperdeep pushed a commit to sleeperdeep/datahub that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata smoke_test Contains changes related to smoke tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants