fivetran / dbt_hubspot_source

Data models for Hubspot built using dbt.
https://fivetran.github.io/dbt_hubspot_source/
Apache License 2.0
31 stars 30 forks source link

Bugfix/duplicate columns #115

Closed fivetran-joemarkiewicz closed 11 months ago

fivetran-joemarkiewicz commented 11 months ago

PR Overview

This PR will address the following Issue/Feature: dbt_hubspot Issue 119

This PR will result in the following new package version: v0.12.0

This will technically be a breaking change since it will remove (via a coalesce) existing impacted fields if duplicates are identified. As such, I would feel more comfortable with this being a breaking change so customers are aware of the upgrade being applied.

Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:

🚨 Breaking Changes 🚨

Feature Updates

PR Checklist

Basic Validation

Please acknowledge that you have successfully performed the following commands locally:

Before marking this PR as "ready for review" the following have been applied:

Detailed Validation

Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

These steps were validated by recreating the issue with the seed data for our integration tests and also via validation with the customer that the fix does in fact resolve the error they are seeing.

Standard Updates

Please acknowledge that your PR contains the following standard updates:

dbt Docs

Please acknowledge that after the above were all completed the below were applied to your branch:

If you had to summarize this PR in an emoji, which would it be?

2️⃣
fivetran-joemarkiewicz commented 11 months ago

Thanks much! Will it be released soon?

I am very close to releasing this! Likely Monday morning at this point. I heard from our product team that these additional fields (the non property_hs_ fields) were due to a bug in the connector and we may want to ignore the non property_hs_ fields altogether. I am just waiting on confirmation from our product team if I should keep the coalesce or remove it entirely.

greg-finley commented 11 months ago

Thanks much! Will it be released soon?

I am very close to releasing this! Likely Monday morning at this point. I heard from our product team that these additional fields (the non property_hs_ fields) were due to a bug in the connector and we may want to ignore the non property_hs_ fields altogether. I am just waiting on confirmation from our product team if I should keep the coalesce or remove it entirely.

From looking at my own data, they seem to be all nulls, so I think removing or coalescing would have the same effect (though I guess slightly more efficient to avoid the coalesce)