Skip to content

Commit 3d4bf31

Browse files
committed
Fix test on dbt<1.5
1 parent fe35118 commit 3d4bf31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/fixtures/dbt/empty_project/profiles.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@ empty_project:
55
outputs:
66
__DEFAULT_TARGET__:
77
type: duckdb
8+
# database is required for dbt < 1.5 where our adapter deliberately doesnt infer the database from the path and
9+
# defaults it to "main", which raises a "project catalog doesnt match context catalog" error
10+
# ref: https://github.com/TobikoData/sqlmesh/pull/1109
11+
database: empty_project
812
path: 'empty_project.duckdb'
913
threads: 4

0 commit comments

Comments
 (0)