Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix resource ingestor default resource type #1537

Merged
merged 2 commits into from
Jun 21, 2021

Conversation

jtpalmer
Copy link
Contributor

Description

Change the HPcDB resource ingestor to use 0 for the resource_type_id when no resource type is found.

Motivation and Context

https://app.asana.com/0/0/1200481198259375/f

Previously, -1 was used for unknown values. Since the unknown resource type uses 0 this will fix that. I don't think this has ever worked since it appears that the unknown resource has always used 0.

Tests performed

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@jtpalmer jtpalmer added bug Bugfixes Category:ETL Extract Transform Load labels Jun 16, 2021
@jtpalmer jtpalmer added this to the 10.0.0 milestone Jun 16, 2021
@jtpalmer jtpalmer merged commit cc494ed into ubccr:xdmod10.0 Jun 21, 2021
@jtpalmer jtpalmer deleted the unknown-resource-type branch August 25, 2021 12:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Bugfixes Category:ETL Extract Transform Load
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants