Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/integrations/engines/azuresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ pip install "sqlmesh[azuresql]"
```
pip install "sqlmesh[azuresql-odbc]"
```
Set `driver: "pyodbc"` in your connection options.


#### Python Driver (Official Microsoft driver for Azure SQL):
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
```
pip install "sqlmesh[azuresql-mssql-python]"
```

Set `driver: "mssql-python"` in your connection options.


### Connection options

Expand Down
7 changes: 7 additions & 0 deletions docs/integrations/engines/fabric.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ NOTE: Fabric Warehouse is not recommended to be used for the SQLMesh [state conn
pip install "sqlmesh[fabric]"
```

#### Python Driver (Official Microsoft driver for Azure SQL):
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
```
pip install "sqlmesh[fabric-mssql-python]"
```
Set `driver: "mssql-python"` in your connection options.

### Connection options

| Option | Description | Type | Required |
Expand Down
10 changes: 10 additions & 0 deletions docs/integrations/engines/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,20 @@
```
pip install "sqlmesh[mssql]"
```

### Microsoft Entra ID / Azure Active Directory Authentication:
```
pip install "sqlmesh[mssql-odbc]"
```
Set `driver: "pyodbc"` in your connection options.

#### Python Driver (Official Microsoft driver for Azure SQL):
See [`mssql-python`](https://pypi.org/project/mssql-python/) for more information.
```
pip install "sqlmesh[mssql-python]"
```
Set `driver: "mssql-python"` in your connection options.


## Incremental by unique key `MERGE`

Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ classifiers = [
athena = ["PyAthena[Pandas]"]
azuresql = ["pymssql"]
azuresql-odbc = ["pyodbc>=5.0.0"]
azuresql-mssql-python = ["mssql-python>=1.1.0;python_version>=\"3.10\""]
bigquery = [
"google-cloud-bigquery[pandas]",
"google-cloud-bigquery-storage"
Expand Down Expand Up @@ -84,6 +85,7 @@ dev = [
"PyAthena[Pandas]",
"PyGithub>=2.6.0",
"pyodbc>=5.0.0",
"mssql-python>=1.1.0;python_version>=\"3.10\"",
"pyperf",
"pyspark~=3.5.0",
"pytest",
Expand All @@ -109,11 +111,13 @@ dbt = ["dbt-core<2"]
dlt = ["dlt"]
duckdb = []
fabric = ["pyodbc>=5.0.0"]
fabric-mssql-python = ["mssql-python>=1.1.0;python_version>=\"3.10\""]
gcppostgres = ["cloud-sql-python-connector[pg8000]>=1.8.0"]
github = ["PyGithub>=2.6.0"]
motherduck = ["duckdb>=1.2.0"]
mssql = ["pymssql"]
mssql-odbc = ["pyodbc>=5.0.0"]
mssql-python = ["mssql-python>=1.1.0;python_version>=\"3.10\""]
mysql = ["pymysql"]
mwaa = ["boto3"]
postgres = ["psycopg2"]
Expand Down Expand Up @@ -215,6 +219,7 @@ module = [
"mysql.*",
"pymssql.*",
"pyodbc.*",
"mssql_python.*",
"psycopg2.*",
"pytest_lazyfixture.*",
"dbt.adapters.*",
Expand Down
Loading