diff --git a/.gitignore b/.gitignore index 2710741..066b7fc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ target/ dbt_modules/ logs/ - +.DS_Store dbt_packages/ \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f01491..9e05b70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# dbt_snapchat_ads_source v0.3.1 +## Bug Fixes +- Includes `updated_at` in uniqueness tests on `stg_snapchat__creative_url_tag_history`. This was originally missing, causing erroneous uniqueness test failures on this history table ([#10](https://github.com/fivetran/dbt_snapchat_ads_source/issues/10)). + # dbt_snapchat_ads_source v0.3.0 🎉 dbt v1.0.0 Compatibility 🎉 ## 🚨 Breaking Changes 🚨 diff --git a/dbt_project.yml b/dbt_project.yml index 2a7f63d..87de007 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snapchat_ads_source' -version: '0.3.0' +version: '0.3.1' config-version: 2 require-dbt-version: [">=1.0.0", "<2.0.0"] diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 473f4d2..cbb8f6b 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snapchat_ads_source_integration_tests' -version: '0.2.1' +version: '0.3.1' profile: 'integration_tests' config-version: 2 diff --git a/models/stg_snapchat.yml b/models/stg_snapchat.yml index 6030bea..770efb7 100644 --- a/models/stg_snapchat.yml +++ b/models/stg_snapchat.yml @@ -124,12 +124,13 @@ models: combination_of_columns: - creative_id - param_key + - updated_at columns: - - name: _fivetran_synced - description: "{{ doc('_fivetran_synced') }}" - name: creative_id description: The ID of the related creative in Snapchat. - name: param_key description: The URL parameter key, i.e. UTM_SOURCE. - name: param_value - description: The URL parameter value, i.e. Snapchat. \ No newline at end of file + description: The URL parameter value, i.e. Snapchat. + - name: updated_at + description: Timestamp of when the record was updated. \ No newline at end of file