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(graphql): handle null source values in ml features & primary keys #5626

Merged

Conversation

gabe-lyons
Copy link
Contributor

The sources fields in both of these entities' properties aspects are optional. However, graphql was assuming they would be non-null and caused NPEs. This pr fixes that.

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

@gabe-lyons gabe-lyons changed the title fix(graphql): handle null source values in ml features.& primary keys fix(graphql): handle null source values in ml features & primary keys Aug 11, 2022
@github-actions
Copy link

Unit Test Results (build & test)

499 tests  ±0   499 ✔️ ±0   8m 19s ⏱️ -23s
115 suites ±0       0 💤 ±0 
115 files   ±0       0 ±0 

Results for commit 67953c7. ± Comparison against base commit e9494f5.

@gabe-lyons gabe-lyons merged commit 3ea0005 into datahub-project:master Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants