snowplow-attribution v0.5.0
Summary
This release enables passing multiple path transformations as dictionary values for transformations enabled in dbt_project.yml using the variable snowplow__path_transforms.
It is specifically related to transformations remove_if_not_all and remove_if_last_and_not_all.
Usage example
snowplow__path_transforms: {'exposure_path': null, 'remove_if_not_all': ['placeholder_transformation_1', 'placeholder_transformation_2'], 'remove_if_last_and_not_all': ['placeholder_transformation_3', 'placeholder_transformation_4']}Features
- Allow multiple path transformation parameters
Fixes
- Fix warning message in source checks macro
- Fix trim_long_path transformation
🚨 Breaking Changes 🚨
- From now on the
snowplow__path_transformsvariable parameters only accept non-empty arrays forremove_if_last_and_not_allandremove_if_not_allvariables instead of strings, please your variable overwrites in your dbt_project.yml accordingly. Previously you could only remove one specific channel or campaign, now you can do multiple, if needed.
vars:
snowplow_attribution:
snowplow__path_transforms: {'exposure_path': null, 'remove_if_last_and_not_all': ['channel_to_remove_1', 'campaign_to_remove_1', 'campaign_to_remove_2']}Upgrading
Update the snowplow-attribution version in your packages.yml file. For existing users, please follow the migration guide here.