Skip to content

Commit d4cc990

Browse files
benfdkingtreysp
andauthored
docs: duckdb vscode warning (#4746)
Co-authored-by: Trey Spiller <1831878+treysp@users.noreply.github.com>
1 parent 054afe5 commit d4cc990

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/guides/vscode.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,16 @@ The SQLMesh VSCode extension provides the following commands in the VSCode comma
139139

140140
## Troubleshooting
141141

142+
### DuckDB concurrent access
143+
144+
If your SQLMesh project uses DuckDB to store its state, you will likely encounter problems.
145+
146+
SQLMesh can create multiple connections to the state database, but DuckDB's local database file does not support concurrent access.
147+
148+
Because the VSCode extension establishes a long-running process connected to the database, access conflicts are more likely than with standard SQLMesh usage from the CLI.
149+
150+
Therefore, we do not recommend using DuckDB as a state store with the VSCode extension.
151+
142152
### Python environment woes
143153

144154
The most common problem is the extension not using the correct Python interpreter.

0 commit comments

Comments
 (0)