Skip to content

Commit 0dbc845

Browse files
committed
fix: catalog mismatch exception in older versions of dbt in test
1 parent 9d44785 commit 0dbc845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/dbt/test_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def _create_empty_project() -> t.Tuple[Path, Path]:
5353
dbt_data_file = dbt_data_dir / "local.db"
5454
dbt_profile_config = {
5555
"test": {
56-
"outputs": {"duckdb": {"type": "duckdb", "path": str(dbt_data_file)}},
56+
"outputs": {
57+
"duckdb": {"type": "duckdb", "path": str(dbt_data_file), "database": "local"}
58+
},
5759
"target": "duckdb",
5860
}
5961
}

0 commit comments

Comments
 (0)