Skip to main content

For AI agents: a Markdown version of this page is at https://docs.snowplow.io/release-notes/snowplow-dbt-utils-1-1-0.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt.

Release notesData models

Snowplow dbt Utils 1.1.0

The Snowplow Utils dbt package adds an optional event_filter argument to base_create_snowplow_events_this_run. For example, event_filter={'event_names': ['link_click'], 'event_vendor': 'com.example.media'} includes link clicks from any vendor and every event from com.example.media. Matching is case-insensitive. Session start and end times still come from the session lifecycle manifest.

PostgreSQL and Redshift scan and deduplicate all events in the selected sessions before applying the filter to the winning rows. This preserves the duplicate counts used to match shredded entities to their events. On these warehouses, the filter can reduce work only in the subsequent joins to those entities.

BigQuery, Snowflake, Databricks, and Spark filter before deduplication. If copies of an event_id have different event types, the earliest matching copy wins. This release also fixes timestamp-based event deduplication on Apache Spark.

If your project overrides the session events macro, follow the Utils migration guide before upgrading a model that uses the filter. See the 1.1.0 release on GitHub for the full changelog.