> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://apidocs.polytomic.com/2022-12-12/configuring-your-connections/connections/databricks/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server. # Databricks Supports: * ✅ Models * ✅ Model sync destination * ✅ Bulk sync source * ✅ Bulk sync destination ## Connection ### Configuration
NameTypeDescriptionRequired
cloud_provider string Cloud provider (destination support only)

Accepted values: `aws` ↓, `azure` ↓
false
databricks_auth_mode string Authentication method

Accepted values: `access_token` ↓, `oauth_service_principal` ↓
true
enable_delta_uniform boolean Enable Delta UniForm tables false
enforce_query_limit boolean Limit concurrent queries ↓ false
http_path string HTTP path true
port integer Port true
server_hostname string Server hostname true
ssh boolean Connect over SSH tunnel ↓ false
unity_catalog_enabled boolean Unity Catalog enabled ↓ false
use_bulk_sync_staging_schema boolean Use custom bulk sync staging schema ↓ false

`databricks_auth_mode`

When `databricks_auth_mode` is `access_token`
NameTypeDescriptionRequired
access_token string Access token true
When `databricks_auth_mode` is `oauth_service_principal`
NameTypeDescriptionRequired
service_principal_id string Service principal ID true
service_principal_secret string Service principal secret true

`cloud_provider`

When `cloud_provider` is `aws`
NameTypeDescriptionRequired
auth_mode string AWS authentication method

How to authenticate with AWS. Defaults to Access Key and Secret. Accepted values: `access_key_and_secret`, `iam_role`
true
s3_bucket_name string S3 bucket name (destinations only)

Name of bucket used for staging data load files
false
s3_bucket_region string S3 bucket region (destinations only)

Region of bucket
false
set_retention_properties boolean Configure data retention for tables false
When `cloud_provider` is `azure`
NameTypeDescriptionRequired
azure_access_key string Storage account access key (destination support only)

The access key associated with this storage account
false
azure_account_name string Storage account name (destination support only)

The account name of the storage account
false
container_name string Storage container name (destination support only)

The container which we will stage files in
false

`use_bulk_sync_staging_schema`

When `use_bulk_sync_staging_schema` is `true`
NameTypeDescriptionRequired
bulk_sync_staging_schema string Staging schema name true

`enforce_query_limit`

When `enforce_query_limit` is `true`
NameTypeDescriptionRequired
concurrent_queries integer Concurrent query limit false

`unity_catalog_enabled`

When `unity_catalog_enabled` is `true`
NameTypeDescriptionRequired
include_hive_metastore boolean Include legacy Hive metastore tables false

`ssh`

When `ssh` is `true`
NameTypeDescriptionRequired
ssh_blob_storage boolean Use SSH for cloud storage bucket false
ssh_host string SSH host true
ssh_port integer SSH port true
ssh_private_key string Private key true
ssh_user string SSH user true

`auth_mode`

When `auth_mode` is `access_key_and_secret`
NameTypeDescriptionRequired
aws_access_key_id string AWS access key ID (destinations only)

See https://docs.polytomic.com/docs/databricks-connections#writing-to-databricks
true
aws_secret_access_key string AWS secret access key (destinations only) true
When `auth_mode` is `iam_role`
NameTypeDescriptionRequired
iam_role_arn string IAM role ARN true
storage_credential_name string Storage credential name false

`set_retention_properties`

When `set_retention_properties` is `true`
NameTypeDescriptionRequired
deleted_file_retention_days integer Deleted file retention false
log_file_retention_days integer Log retention false
#### Example ```json { "name": "Databricks connection", "type": "databricks", "configuration": { "access_token": "isoz8af6zvp8067gu68gvrp0oftevn", "auth_mode": "access_key_and_secret", "aws_access_key_id": "AKIAIOSFODNN7EXAMPLE", "aws_secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "cloud_provider": "aws", "databricks_auth_mode": "access_token", "enable_delta_uniform": false, "enforce_query_limit": false, "http_path": "/sql", "port": 443, "s3_bucket_name": "s3://polytomic-databricks-results/customer-dataset", "s3_bucket_region": "us-east-1", "server_hostname": "dbc-1234dsafas-d0001.cloud.databricks.com", "set_retention_properties": false, "ssh": false, "unity_catalog_enabled": false, "use_bulk_sync_staging_schema": false } } ``` ### Read-only properties
NameTypeDescriptionRequired

`auth_mode`

When `auth_mode` is `access_key_and_secret`
NameTypeDescriptionRequired
aws_user string User ARN (destinations only) false
When `auth_mode` is `iam_role`
NameTypeDescriptionRequired
external_id string External ID for the IAM role false
## Model Sync ### Source #### Configuration
NameTypeDescriptionRequired
catalog string Catalog false
query string Query false
schema string Schema false
table string Table false
#### Example ```json { ... "configuration": { "catalog": "samples", "query": "SELECT * FROM samples.nyctaxi.trips", "schema": "nyctaxi", "table": "trips" } } ``` ### Target Databricks connections may be used as the destination in a model sync. #### All targets ##### Configuration
NameTypeDescriptionRequired
created_column string 'Created at' timestamp column false
preserve_table_on_resync boolean Preserve destination table when resyncing false
updated_column string 'Updated at' timestamp column false
write_record_timestamps boolean Write row timestamp metadata false
##### Example ```json { ... "target": { "configuration": { "created_column": "", "preserve_table_on_resync": false, "updated_column": "", "write_record_timestamps": false } } } ``` ### Target creation Databricks connections may be used to create a new target for a model sync. The following parameters are required to create a new target:
NAME DESCRIPTION ENUM
name Table name false
## Bulk Sync ### Source Databricks connections may be used as a bulk sync source. No additional configuration options are required. ### Destination #### Configuration
NameTypeDescriptionRequired
advanced object false
catalog string Catalog false
external_location_name string External location false
mirror_schemas boolean Mirror schemas false
schema string Output schema false
#### Example ```json { ... "destination_configuration": { "advanced": { "deleted_file_retention_days": 0, "empty_strings_null": false, "enable_change_data_feed": false, "hard_deletes": false, "initial_execution": "", "log_file_retention_days": 0, "set_retention_properties": false, "table_prefix": "", "truncate_existing": false }, "catalog": "samples", "external_location_name": "", "mirror_schemas": false, "schema": "nyctaxi" } } ``` ## Type handling ### Destination types | POLYTOMIC TYPE | DATABRICKS TYPE | |-----------------------------|----------------------------| | `array<>` | `ARRAY<>` | | `bigint` | `BIGINT` | | `boolean` | `BOOLEAN` | | `date` | `DATE` | | `datetime` | `TIMESTAMP` | | `decimal(precision, scale)` | `DECIMAL(precision,scale)` | | `double` | `DOUBLE` | | `int` | `INT` | | `json` | `STRING` | | `jsonarray` | `STRING` | | `number` | `DECIMAL(38,18)` | | `object{}` | `STRING` | | `single` | `FLOAT` | | `smallint` | `SMALLINT` | | `string` | `STRING` | | `time` | `TIMESTAMP` | ### Source types | DATABRICKS TYPE | POLYTOMIC TYPE | |-----------------------------|-----------------------------| | `ARRAY<>` | `array<>` | | `BIGINT` | `bigint` | | `BYTE` | `smallint` | | `DATE` | `date` | | `DECIMAL(precision, scale)` | `decimal(precision, scale)` | | `DOUBLE` | `double` | | `FLOAT` | `single` | | `INT` | `int` | | `INTERVAL` | `string` | | `LONG` | `bigint` | | `MAP<>` | `object{}` | | `SHORT` | `smallint` | | `SMALLINT` | `smallint` | | `STRUCT<>` | `object{}` | | `TIMESTAMP` | `datetime_tz` | | `TIMESTAMP_NTZ` | `datetime` | | `TINYINT` | `smallint` | | `VARCHAR` | `string` |