snowplow/dbt-snowplow-mobile

Sessions depends on user_mapping even when not enabled

rlh1994 opened this issue · 0 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