-
Notifications
You must be signed in to change notification settings - Fork 79
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
'except' is undefined #121
Comments
Hi @mahdimostafalighthouselabs , could you please me which database are you using? |
hi @psousa50 I am using GBQ as my database |
I also ran into this (using GBQ). Replacing dbt-unit-testing/macros/tests.sql Lines 87 to 95 in 7594c1d
Replace above with this extra_entries as (
select '+' as diff, count, {{columns}} from actual
{{ dbt_utils.except() }}
select '+' as diff, count, {{columns}} from expectations),
missing_entries as (
select '-' as diff, count, {{columns}} from expectations
{{ dbt_utils.except() }}
select '-' as diff, count, {{columns}} from actual) |
@alaneve thank you, this also worked for me! |
Looks like issue #88 was flagging the reverse of this and spawned PR #94 which removed the My team is using dbt 1.0.5, and the migration of If supporting older versions of dbt-core is off the table, I'd think dbt-unit-testing should at least identify the minimum dbt-core version required which appears to be v1.2.0. |
Hello there,
I am trying to build a unit test but seem to get an error. This is my script in the test folder:
and this is the error I get:
Have I missed something out? or is the build not valid?
The text was updated successfully, but these errors were encountered: