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
In the check "cdmTable" the most inner select statement is the following SELECT CASE WHEN COUNT(*) = 0 THEN 0 ELSE 0 END AS num_violated_rows FROM hob_valid.CONDITION_OCCURRENCE cdmTable GROUP BY 1
However, this query results in 0 rows if the table is empty.
I think deleting the GROUP BY 1 solves the issue.
The same holds true for the check "cdmField".
Unfortunately, I couldn't find the files in which the checks are defined to check if the problem is still there or if I'm just using an old version.
The text was updated successfully, but these errors were encountered:
dassagichnicht
changed the title
Check cdmTable error in query
Check cdmTable and cdmField error in query
Sep 11, 2024
In the check "cdmTable" the most inner select statement is the following
SELECT CASE WHEN COUNT(*) = 0 THEN 0 ELSE 0 END AS num_violated_rows FROM hob_valid.CONDITION_OCCURRENCE cdmTable GROUP BY 1
However, this query results in 0 rows if the table is empty.
I think deleting the
GROUP BY 1
solves the issue.The same holds true for the check "cdmField".
Unfortunately, I couldn't find the files in which the checks are defined to check if the problem is still there or if I'm just using an old version.
The text was updated successfully, but these errors were encountered: