File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tests/fixtures/dbt/empty_project Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44import re
55import typing as t
66import zlib
7- import logging
87
98from pydantic import Field
109from pydantic .functional_validators import BeforeValidator
5150from sqlmesh .utils .errors import ConfigError
5251from sqlmesh .utils .pydantic import model_validator
5352
54- logger = logging .getLogger (__name__ )
55-
5653
5754def validate_no_past_ttl (v : str ) -> str :
5855 current_time = now ()
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments