Closed fivetran-sheringuyen closed 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)
This pull request was created automatically 🎉 Before merging this PR (refer to Detailed Update Sheet 10/2022 for more information):
dbt_project.yml
&integration_tests/dbt_project.yml
versions are properly bumpeddbt_utils.macro
->dbt.macro
.circleci
directory has been removedintegration_tests/requirements.txt
adapters have been updated to 1.2.0 and dbt-databricks is added.buildkite
directory has been added with the following:hooks/pre-command
,scripts/run_models.sh
,pipeline.yml
packages.yml
, will need to bump source package (FT utils should be bumped).buildkite/scripts/run_models.sh
with vars as applicable, if N/A then remove relevant lines from script.buildkite/pipeline.yml
if package is incompatibleintegration_tests/ci/sample.profiles.yml
CHANGELOG
template and remove surrogate keys if not applicable to packageREADME
for dbt version badge, install package version range and dependencies for: Fivetran_utils, dbt-utils and source packages