Databricks Spoke
Retrieves details of warehouses, tables, schemas, and catalogs, and executes SQL statements in Databricks from your ServiceNow instance.
Request apps on the Store
Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Integration Hub subscription
This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.
Supported versions
This spoke was built for these versions of Databricks, but may be compatible with later versions:
| Action category | Databricks version |
|---|---|
| Unity Catalog Management | API version 2.1 |
| SQL Management | API version 2.0 |
Spoke dependencies
- Complex Object (com.glide.cobject)
- ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
- ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
- ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
Spoke subflows
The Databricks spoke provides sample subflows to demonstrate automating tasks. To customize a sample subflow, copy it to a new application scope. Available sample subflows include:
| Subflow | Description |
|---|---|
| Look up Catalogs | Retrieves list of all catalogs. |
| Look up Schemas | Retrieves list of all schemas from a specific catalog. |
| Look up Tables | Retrieves list of all tables from a specific schema in a catalog. |
| Sample - Execute Databricks SQL Statement | Executes a SQL statement on Databricks and returns the result columns and data array. |
Spoke actions
The Databricks spoke provides actions to automate tasks when events occurs in your ServiceNow instance. Available actions include:
| Category | Action | Description |
|---|---|---|
| SQL Management | Execute SQL Statement | Executes the provided SQL statement. |
| Look up Execution Status | Retrieves the execution status of a SQL statement. | |
| Look up Result Chunk by Index | Retrieves a specific chunk of the result set for a SQL statement by chunk index. 注: If the data you want to retrieve is more than 5MB, modify the default value of the system property
glide.pf.rest.response_payload_max_size and increase it as per your requirement. |
|
| Look up Warehouses Stream | Retrieves a list of SQL warehouses. | |
| Unity Catalog Management | Look up Catalogs | Retrieves details of the required number of catalogs. 注: To retrieve list of all catalogs, use the Look up Catalogs subflow. |
| Look up Schemas | Retrieves details of the required number of schemas from a specific catalog. 注: To retrieve list of all schemas from a specific catalog, use the Look up Schemas subflow. |
|
| Look up Tables | Retrieves details of the required number of tables from a specific schema in a catalog. 注: To retrieve list of all tables from a specific schema in a catalog, use the Look up Tables subflow. |
Connection and credential alias requirements
Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.