> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/synapse/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.
# Azure Synapse
Supports:
* ✅ Models
* ✅ Model sync destination
* ✅ Bulk sync source
* ✅ Bulk sync destination
## Connection
### Configuration
| Name | Type | Description | Required |
database |
string |
Database |
required |
hostname |
string |
Server |
required |
password |
string |
Password |
required |
port |
integer |
Port |
required |
username |
string |
Username |
required |
#### Example
```json
{
"name": "Azure Synapse connection",
"type": "synapse",
"configuration": {
"database": "yourdatabase",
"hostname": "yourserver.sql.azuresynapse.net",
"password": "secret",
"port": 1433,
"username": "user"
}
}
```
## Model Sync
### Source
#### Configuration
| Name | Type | Description | Required |
query |
string |
|
optional |
table |
string |
Table |
optional |
view |
string |
View |
optional |
#### Example
```json
{
...
"configuration": {
"query": "SELECT * from users",
"table": "users",
"view": "active_users"
}
}
```
### Target
Azure Synapse connections may be used as the destination in a model sync.
#### All targets
##### Configuration
| Name | Type | Description | Required |
created_column |
string |
'Created at' timestamp column |
optional |
preserve_table_on_resync |
boolean |
Preserve destination table when resyncing |
optional |
updated_column |
string |
'Updated at' timestamp column |
optional |
write_record_timestamps |
boolean |
Write row timestamp metadata |
optional |
##### Example
```json
{
...
"target": {
"configuration": {
"created_column": "",
"preserve_table_on_resync": false,
"updated_column": "",
"write_record_timestamps": false
}
}
}
```
### Target creation
Azure Synapse connections support creating a new target for a model sync. To create
a new target, set `target.new_name` to the desired name.
## Bulk Sync
### Source
Azure Synapse connections may be used as a bulk sync source. No additional configuration options are required.
### Destination
#### Configuration
| Name | Type | Description | Required |
advanced |
object |
|
optional |
mirror_schemas |
boolean |
Mirror schemas |
optional |
schema |
string |
Output schema |
optional |
#### Example
```json
{
...
"destination_configuration": {
"advanced": {
"empty_strings_null": true,
"hard_deletes": false,
"initial_execution": "rebuild",
"table_prefix": "",
"truncate_existing": false
},
"mirror_schemas": false,
"schema": "schema"
}
}
```