Skip to content

Commit 84aa23d

Browse files
feat(connections): Support mssql-python driver.
1 parent 3fd4dd9 commit 84aa23d

File tree

4 files changed

+237
-98
lines changed

4 files changed

+237
-98
lines changed

docs/integrations/engines/azuresql.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ pip install "sqlmesh[azuresql]"
1414
```
1515
pip install "sqlmesh[azuresql-odbc]"
1616
```
17+
Set `driver: "pyodbc"` in your connection options.
18+
19+
20+
#### Python Driver (Official Microsoft driver for Azure SQL):
21+
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
22+
```
23+
pip install "sqlmesh[azuresql-mssql-python]"
24+
```
25+
26+
Set `driver: "mssql-python"` in your connection options.
27+
1728

1829
### Connection options
1930

docs/integrations/engines/fabric.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ NOTE: Fabric Warehouse is not recommended to be used for the SQLMesh [state conn
1414
pip install "sqlmesh[fabric]"
1515
```
1616

17+
#### Python Driver (Official Microsoft driver for Azure SQL):
18+
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
19+
```
20+
pip install "sqlmesh[fabric-mssql-python]"
21+
```
22+
Set `driver: "mssql-python"` in your connection options.
23+
1724
### Connection options
1825

1926
| Option | Description | Type | Required |

docs/integrations/engines/mssql.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@
66
```
77
pip install "sqlmesh[mssql]"
88
```
9+
910
### Microsoft Entra ID / Azure Active Directory Authentication:
1011
```
1112
pip install "sqlmesh[mssql-odbc]"
1213
```
14+
Set `driver: "pyodbc"` in your connection options.
15+
16+
#### Python Driver (Official Microsoft driver for Azure SQL):
17+
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
18+
```
19+
pip install "sqlmesh[fabric-mssql-python]"
20+
```
21+
Set `driver: "mssql-python"` in your connection options.
22+
1323

1424
## Incremental by unique key `MERGE`
1525

0 commit comments

Comments
 (0)