Unified Digital
Package Configuration Variables
This package utilizes a set of variables that are configured to recommended values for optimal performance of the models. Depending on your use case, you might want to override these values by adding to your dbt_project.yml
file.
session/user_identifiers
or using session/user_sql
in the unified package these will overwrite the domain_sessionid
and domain_userid
fields in tables, rather than being session/user_identifier
as in the core utils implementation. This is for historic reasons to mitigate breaking changes. Original values for these fields can be found in `original_domain_session/userid` in each table.Warehouse and Tracker
Operation and Logic
Contexts, Filters, and Logs
Warehouse Specific
Config Generator
You can use the below inputs to generate the code that you need to place into your dbt_project.yml
file to configure the package as you require. Any values not specified will use their default values from the package.
Warehouse and Tracker
Operation and Logic
Contexts, Filters, and Logs
Warehouse Specific
Project Variables:
vars:
snowplow_unified: null
Output Schemas
By default all scratch/staging tables will be created in the <target.schema>_scratch
schema, the derived tables, will be created in <target.schema>_derived
and all manifest tables in <target.schema>_snowplow_manifest
. Some of these schemas are only used by specific packages, ensure you add the correct configurations for each packages you are using. To change, please add the following to your dbt_project.yml
file:
If you want to use just your connection schema with no suffixes, set the +schema:
values to null
models:
snowplow_unified:
base:
manifest:
+schema: my_manifest_schema
scratch:
+schema: my_scratch_schema
sessions:
+schema: my_derived_schema
scratch:
+schema: my_scratch_schema
user_mapping:
+schema: my_derived_schema
users:
+schema: my_derived_schema
scratch:
+schema: my_scratch_schema
views:
+schema: my_derived_schema
scratch:
+schema: my_scratch_schema
seeds:
snowplow_unified:
+schema: my_seed_schema