v0.16.0 dbt_hubspot_source
fivetran-data-model-bot
released this
16 Oct 22:11
·
24 commits
to main
since this release
PR #129 includes the following updates:
Breaking Changes
- Switched from using the
fivetran_utils.remove_prefix_from_columns
macro to thehubspot_source.remove_duplicate_and_prefix_from_columns
macro for whenhubspot__pass_through_all_columns
is enabled and you are passing through all columns in thestg_hubspot__company
,stg_hubspot__contact
, andstg_hubspot__deal
models. This also ensures the source fields passed through are all quoted from the onset. This is a breaking change because this macro can remove duplicate fields, resulting in an impact to your schema.
Bug Fixes
- Introduced hubspot-specific version of the
fivetran_utils.pass_through_columns
macro titledhubspot_add_pass_through_columns
, which introduces quoting around the source fields being brought in as passthrough columns. This will ensure that your warehouse reads the sql correctly, particularly if the field contains special characters or syntax. This is now used in the respectiveget_<>_columns
macros of the following models:stg_hubspot__company
stg_hubspot__contact
stg_hubspot__deal
stg_hubspot__ticket
Under the Hood
- Updated seed data to include fields with special syntax in order to test the above changes.
Full Changelog: v0.15.0...v0.16.0