Hi everyone,
I'm back here seeking some help!
I've created my Dataform in BigQuery, which is supposed to be called by a DAG. Inside it, I have a WHERE condition: WHERE codice = '${dataform.projectConfig.vars.Codice}'.
From what I understand, this variable can be changed by the DAG when it calls the Dataform.
Now, here's my question: I've set up my dataform.json file with the following content:
{ "vars": { "codice": "active" } }
However, when I perform a start execution by launching the single SQLX, the value I get is 'undefined':
WHERE codice = 'undefined'
Why is this happening? What am I doing wrong?
Thanks in advance for any help!
Solved! Go to Solution.
Great! I solved it out myself this time 🙂
The dataform.json file needs to be outside the include folder.
Thanks!
Great! I solved it out myself this time 🙂
The dataform.json file needs to be outside the include folder.
Thanks!