You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2024. It is now read-only.
Describe the bug
I tried data-diff for the first time and I got this error.
Got error: 400 Grouping is not defined for arguments of type ARRAY<STRUCT<id STRING
My table has arrays and structs. The command I used is
dbt run --select table_a && data-diff --dbt
I think what's happening is that the SQL generated by data-diff to compare the two tables is unaware that a field is an array of structs. I copied the SQL into the BigQuery console and I found the error here:
CASE
WHEN `tmp1`.`array_field` IS DISTINCT FROM`tmp2`.`array_field` THEN 1
ELSE
0
END
AS`is_diff_array_field`,