Skip to content
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

All assertions fail when dry run #1776

Closed
dali-rmw opened this issue Jul 3, 2024 · 0 comments · Fixed by #1778
Closed

All assertions fail when dry run #1776

dali-rmw opened this issue Jul 3, 2024 · 0 comments · Fixed by #1778

Comments

@dali-rmw
Copy link

dali-rmw commented Jul 3, 2024

Hello, when I try to execute datafrom run --dry-run, all my assertions fail with the same error:
BigQuery error: Cannot convert undefined or null to object.
Example of an assertion
create or replace view project.dataform_assertions.table_name_assertions_uniqueKey_0 as

SELECT
*
FROM (
SELECT
row_id, col1,
COUNT(1) AS index_row_count
FROM TABLE_NAME
GROUP BY row_id, col1
) AS data
WHERE index_row_count > 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant