fivetran / dbt_klaviyo_source

https://fivetran.github.io/dbt_klaviyo_source/
Apache License 2.0
2 stars 5 forks source link

Updates for dbt-utils to dbt-core cross-db macro migration #15

Closed fivetran-sheringuyen closed 1 year ago

fivetran-sheringuyen commented 1 year ago

This pull request was created automatically 🎉 Before merging this PR (refer to Detailed Update Sheet 10/2022 for more information):

fivetran-reneeli commented 1 year ago
fivetran-reneeli commented 1 year ago

Error on dbt run:


Compilation Error in model klaviyo__flows (models/klaviyo__flows.sql)

  Warning: `dbt_utils.surrogate_key` has been replaced by `dbt_utils.generate_surrogate_key`. The new macro treats null values differently to empty strings. To restore the behaviour of the original macro, add a variable scoped to the dbt_utils package called `surrogate_key_treat_nulls_as_empty_strings` to your dbt_project.yml file with a value of True. The klaviyo.klaviyo__flows model triggered this warning. 

  > in macro default__surrogate_key (macros/sql/surrogate_key.sql)
  > called by macro surrogate_key (macros/sql/surrogate_key.sql)
  > called by model klaviyo__flows (models/klaviyo__flows.sql)