Open awoehrl opened 3 years ago
Some Dataform projects use a more complex setup with:
As the tables are hard-coded in this model right now, these setups don't work out of the box right now. A simple fix could be to introduce variables for source and target:
const input_project = "snowplow-raw-302115"; const output_project = dataform.projectConfig.defaultDatabase;
Also maybe this could be solved in the SQLX files itself by using the dataform config functions?
config { database : "snowplow-raw-302115", schema: "rt_pipeline_prod1", name: "events", description: "Raw Snowplow events table" }
Some Dataform projects use a more complex setup with:
As the tables are hard-coded in this model right now, these setups don't work out of the box right now. A simple fix could be to introduce variables for source and target:
Also maybe this could be solved in the SQLX files itself by using the dataform config functions?