Databricks Adapter
Overview
The Databricks adapter is designed to provide a template for getting started with Databricks API integrations. It leverages the DATABRICKS Library to authenticate with the Databricks Server and provides a few default example workflows.
This component can be customized and adapted according to your workflow needs. Additional operations can be easily added to the adapter and library.
Requirements
The base URL of the Databricks Server.
E.g., https://<identifier>.cloud.databricks.com/
The client ID of your registered service principal (i.e., the user)
The client secret associated with the service principal.
Running the Component
Adapting the Component
By default the underlying library includes operations for:
Retrieving SQL warehouses.
Performing SQL statements.
Running notebook jobs.
You can add additional functionality by modifying the library and adding additional .lua modules to the methods folder. You can follow the same format in the DATABRICKSrunSQL.lua module then simply add your new module to the metatable at the top of the DATABRICKSclient.lua module.