Connect to Databricks from ArcGIS Pro
To connect to a Databricks cloud data warehouse, install and configure client files to implement communication between ArcGIS Pro and Databricks. Next, create database connection files from ArcGIS Pro. For best performance, deploy ArcGIS Pro in the same cloud and in the same region as the data warehouse.
Typically, IT professionals install the ArcGIS software and the drivers required to connect to the data warehouse. They also configure network, firewall, and other communication channels necessary to allow communication between ArcGIS and the cloud data warehouse.
Next, the administrator of the cloud data warehouse creates accounts and grants the accounts privileges to access specific catalogs, schemas, and tables in the cloud data warehouse. When your user account exists and is granted the privileges required to connect and access data, you can create a database connection file (.sde).
Install and configure drivers
To connect to Databricks from ArcGIS Pro, you must install and configure the latest Databricks 64-bit ODBC driver for Windows on each ArcGIS Pro machine.
Create a database connection file
In ArcGIS Pro, use the New Database Connection dialog box to create a connection to Databricks.
Open the Catalog pane in ArcGIS Pro.
Right-click Databases or a folder under Folders and click New Database Connection.
On the Database Connection dialog box, choose Databricks from the Database Platform drop-down menu.
In the Server Hostname text box, provide the URL to the Databricks compute resource, minus the
https://portion of the URL.For example, if you use the URL
https://abc-123abc45-678d.cloud.databricks.comto access Databricks, provideabc-123abc45-678d.cloud.databricks.comfor the Server Hostname value.From the Authentication Type drop-down menu, choose one of the following authentication types to use for the connection:
OAuth for users—Uses a browser and a User-to-Machine (U2M) refresh token for authentication. A browser window opens for you to provide your account credentials to sign in to Databricks and authenticate the connection.
OAuth for service principals—Uses client credentials and Machine-to-Machine (M2M) token pass-through for authentication. Provide the appropriate values for your service principal in the Client ID and Client Secret text boxes.
The option to save credentials is enabled by default; to disable this option, uncheck the Save credentials check box. Each time you connect, you must supply the client ID and client secret of your service principal.
Ensure the account or service principal you use for the connection has permission to use the catalog and schema to which you will connect and data you need to access.
Provide the HTTP path for the SQL Warehouse in the HTTP Path text box.
See the Databricks on AWS help or Azure Databricks for information about the connection details for a Databricks compute resource.
From the Catalog drop-down menu, choose the Databricks catalog to which you will connect.
In the Schema text box, provide the name of the schema to which you will connect.
Provide a name for the connection file in the Connection File Name field.
A default name is created based on the connection property values. You can use the default, or provide a more descriptive file name.
This is the name that will appear in the Catalog pane and view in ArcGIS Pro, and the name of the
.sdefile stored on disk.Optionally, expand the Additional Properties section and specify parameters to connect that are in addition to those required in the previous steps.
Click OK to create the connection file.
A database connection appears under Databases in the Catalog pane, and a connection file (.sde) is created in the ArcGIS Pro project directory.
Next steps
After you configure the ArcGIS clients to connect and create a database connection file, you and other organization members can create a query layer in a map in ArcGIS Pro.