Commit 85ae2c7
committed
Fix generated dbt project
- use "ephemeral" instead of cte for materialization
The sample job in the suite at https://github.com/mildbyte/template-test-2/runs/4667663552?check_suite_focus=true
now actually completes (but doesn't do anything) because it just makes an unchecked
CTE (the source tables don't exist).
Fails as expected (https://github.com/mildbyte/template-test-2/runs/4667687824?check_suite_focus=true)
if we materialize as tables since then the relation indeed doesn't exist.1 parent 9c773ed commit 85ae2c7
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- splitgraph/cloud/project
- test/splitgraph/cloud/project/snapshots
- test_dbt/test_generate_dbt_project/splitgraph_template
- test_generation/test_generate_project_with_dbt/generate_project_dbt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
0 commit comments