Skip to content

Commit

Permalink
Merge pull request #26 from aleix-cd/fix-missing-latest-version-filter
Browse files Browse the repository at this point in the history
fix: add missing `is_latest_version` filter in `linkedin_ads__url_report` CTE
  • Loading branch information
fivetran-joemarkiewicz authored Jan 9, 2023
2 parents 5adac08 + f6d5f96 commit 8a5471a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 6 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# dbt_linkedin v0.6.1

## Bugfixes
- `linkedin_ads__url_report` will now effectively filter out all those entries from `stg_linkedin_ads__creative_history` that are not the latest version of the creative. ([PR #26](https://github.com/fivetran/dbt_linkedin/pull/26))

## Contributors
- [@aleix-cd](https://github.com/aleix-cd) ([PR #26](https://github.com/fivetran/dbt_linkedin/pull/26))

# dbt_linkedin v0.6.0

## 🚨 Breaking Changes 🚨:
Expand Down Expand Up @@ -84,4 +92,4 @@ vars:
- Please note, if you are installing a version of `dbt_utils` in your `packages.yml` that is not in the range above then you will encounter a package dependency error.

# dbt_linkedin v0.1.0 -> v0.3.0
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'linkedin'
version: '0.6.0'
version: '0.6.1'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
vars:
Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

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: 'linkedin_integration_tests'
version: '0.6.0'
version: '0.6.1'
profile: 'integration_tests'
config-version: 2

Expand Down
1 change: 1 addition & 0 deletions models/linkedin_ads__url_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ with creative as (

select *
from {{ var('creative_history') }}
where is_latest_version
),

campaign as (
Expand Down

0 comments on commit 8a5471a

Please sign in to comment.