-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User single site #355
User single site #355
Conversation
The tests don't fail on my local computer. |
I got a However, I have a specific setup that could explain this... but until now the tests were running fine. |
@dgitis This is the same error that we're seeing in PR #346. dbt-core doesn't understand what to do with a unit test when the model is disabled. Thanks for calling this out, @jice-lavocat if you enable the stg_ga4__users model, this error should go away. But that assumes you have a users table to stage. |
EDIT: now I understand your comment. The model is disabled by default. -- ... I didn't disable this model. In total, three unit tests are failing for me:
I'm not up to date on unit tests, but the test |
Sorry about the late response. I saw this the morning that you posted and then totally forgot about it. I suspect that the unit tests are failing because those modes aren't enabled. I tested whether the models work but not whether the the tests caused errors when the models aren't in use. You should be able to disable the offending tests with the following block:
I'm not sure if those resource paths are exactly correct. I haven't disabled tests this way but that should get you close. I'll check disabling tests and update the documentation. |
Description & motivation
GA4 user export tables for single-site dbt-GA4.
This PR adds base and staging models for the native user export. The main feature of these tables is the ability to unnest user properties and audiences using variables. They are disabled by default but the Readme covers the range of user tables.
Checklist
dbt test
andpython -m pytest .
to validate existing tests