Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Jun 19, 2024
1 parent 578f356 commit c484003
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
snowplow-attribution 0.2.2 (2024-06-19)
---------------------------------------
## Summary
This release fixes a bug in the source_checks() macro that could fail if the `snowplow__conversions_source` or `snowplow__conversion_path_source` variables are overwritten. This fix should allow users to provide a `schema.table` or `warehouse.schema.table` style string reference for these sources without having to specify a dbt source in their project (similar to the default), if necessary.

## Fixes
- Fix source checks macro

## Upgrading
Bump the snowplow-unified version in your `packages.yml` file.

snowplow-attribution 0.2.1 (2024-06-11)
---------------------------------------
## Summary
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: 'snowplow_attribution'
version: '0.2.1'
version: '0.2.2'
config-version: 2

require-dbt-version: [">=1.6.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: 'snowplow_attribution_integration_tests'
version: '0.2.1'
version: '0.2.2'
config-version: 2

profile: 'integration_tests'
Expand Down
2 changes: 1 addition & 1 deletion macros/source_checks.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% if is_incremental() %}
{% if last_cv_tstamp < last_processed_cv_tstamp %}
{{ exceptions.raise_compiler_error(
"Snowplow Error: The timestamp of the last conversion event in the conversion souce ("~ var('snowplow__conversions_source',source('derived', 'snowplow_unified_conversions')) ~ "):" ~ last_cv_tstamp ~
"Snowplow Error: The timestamp of the last conversion event in the conversion source ("~ var('snowplow__conversions_source',source('derived', 'snowplow_unified_conversions')) ~ "):" ~ last_cv_tstamp ~
" is lower than the timestamp of the last processed conversion " ~ last_processed_cv_tstamp ~
"within the model "~ this ~ ". Please make sure you have updated downstream sources before proceeding."
) }}
Expand Down

0 comments on commit c484003

Please sign in to comment.