Skip to content

Commit da8e091

Browse files
authored
Chore: document the state_connection kwarg of sqlmesh_config (dbt adapter) (#4253)
1 parent a5d25ef commit da8e091

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/integrations/dbt.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,15 @@ Models **require** a start date for backfilling data through use of the `start`
5757

5858
### Configuration
5959

60-
SQLMesh determines a project's configuration settings from its dbt configuration files.
60+
SQLMesh derives a project's configuration from its dbt configuration files. This section outlines additional settings specific to SQLMesh that can be defined.
6161

62-
This section describes using runtime variables to create multiple configurations and how to disable SQLMesh's automatic model description and comment registration.
62+
#### Selecting a different state connection
63+
64+
[Certain engines](https://sqlmesh.readthedocs.io/en/stable/guides/configuration/?h=unsupported#state-connection), like Trino, cannot be used to store SQLMesh's state.
65+
66+
As a workaround, we recommend specifying a supported state engine using the `state_connection` argument instead.
67+
68+
Learn more about how to configure state connections in Python [here](https://sqlmesh.readthedocs.io/en/stable/guides/configuration/#state-connection).
6369

6470
#### Runtime vars
6571

0 commit comments

Comments
 (0)