Skip to content

Commit

Permalink
Merge pull request #12 from fivetran/bug/creative-url-tag-history-test
Browse files Browse the repository at this point in the history
creative url tag history uniqueness
  • Loading branch information
fivetran-jamie authored Mar 4, 2022
2 parents c9482e9 + 3eaff4f commit c8868b5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
target/
dbt_modules/
logs/

.DS_Store
dbt_packages/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 🚨
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'snapchat_ads_source_integration_tests'
version: '0.2.1'
version: '0.3.1'
profile: 'integration_tests'
config-version: 2

Expand Down
7 changes: 4 additions & 3 deletions models/stg_snapchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
description: The URL parameter value, i.e. Snapchat.
- name: updated_at
description: Timestamp of when the record was updated.

0 comments on commit c8868b5

Please sign in to comment.