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
While the query itself works fine, it seems that the assertions are not executed properly. The error message says:
Invalid value: Invalid dataset ID "...b0a.". Dataset IDs must be alphanumeric (plus underscores) and must be at most 1024 characters long. at [2:3] at [8:5]
The dataset id is alphanumeric, but I've spotted a difference in the second line of the executed code. The code that fails (assertions) looks as follows:
BEGIN
CREATE SCHEMA IF NOT EXISTS `...b0a.` OPTIONS(location="europe-west1");
...
while the first two lines of the job itself look as follows:
BEGIN
CREATE SCHEMA IF NOT EXISTS `...b0a.dev` OPTIONS(location="europe-west1");
...
The text was updated successfully, but these errors were encountered:
There is a long standing bug, that schema/database overrides in definitions do not work for the inbuild assertions.
This seems to be a bug since December of 21 (See #1295 )
I've created a simple
.sqlx
file with the following content inside thedefinitions
folder:While the query itself works fine, it seems that the assertions are not executed properly. The error message says:
The dataset id is alphanumeric, but I've spotted a difference in the second line of the executed code. The code that fails (assertions) looks as follows:
while the first two lines of the job itself look as follows:
The text was updated successfully, but these errors were encountered: