snowplow / dbt-snowplow-mobile

A fully incremental model, that transforms raw mobile event data generated by the Snowplow mobile trackers into a series of derived tables of varying levels of aggregation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sessions depends on user_mapping even when not enabled

rlh1994 opened this issue · comments

Describe the bug

If you have user_stitching disabled, you still have to keep the user_mapping table enabled as the sessions table depends directly on this by the ref call in the arguments.

Steps to reproduce

  1. Create project with mobile package as dependency.
  2. Disable user sitching
  3. Disable the user_mapping model
  4. Run dbt compile/docs/whatever

Expected results

Will compile/run and not see dependency on user_mapping to sessions

Actual results

Will not compile, see dependency

Screenshots and log output

System information

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • databricks
  • other (specify: ____________)

The output of dbt --version:

The operating system you're using:

The output of python --version:

Additional context

Are you interested in contributing towards the fix?

Sure, why not