snowplow-utils v0.15.0
Summary
This full release introduces new "base" macros which are used to recreate the snowplow_base_events_this_run
and related tables. It gives you the option to customise your session and user identifiers, your partitioning timestamps, and much more. Additionally, we remove the deprecated snowplow_incremental
materialization that was removed in 0.14.0
, and we add multi-version support for the get_field
macro for BigQuery.
We have documentation explaining the outlined changes in detail here that you can use to explore the base macro changes in particular. For information about how to do this, see our Advanced Usage of the Utils package page and the utils configuration variables.
Finally, before we dig into the details, starting with this version all future releases of our dbt packages will be released under the Snowplow Community License instead of the Apache 2 license. For what this means for you, check out our FAQ, and our announcement blog.
Features
- Create the "base" macros to enable greater flexibility
- Update the package to be under the Snowplow Community License
- Released a fix where
get_optional_fields
returned field aliases even wheninclude_field_alias
was set to false (#132) - Add multi-version support to the
get_field
macro for BigQuery - Remove deprecated
snowplow_incremental
materialization
Under the hood
- Introduce integration tests to check customization
Upgrading
To upgrade, bump the package version in your packages.yml
file.