Databricks_Logo

Your Models + Databricks

An architectural game-changer for spreadsheet-driven solutions

 

 

ClearFactr offers seamless support for driving your models with limitless amounts of data stored in Databricks.

And while we know you can do this completely on your own, we'd welcome the chance to bring our decades of application and solution building experiences surrounding data modeling and design into a discussion, all to help assure your maximum success. Driving arbitrarily-complex spreadsheet compute models with external data might be new to your enterprise. But once you get started, you'll wonder how you did it any other way.

In fact, we're so convinced this can be such a revolutionary approach for solution building, empowering teams across the enterprise to collaborate like never before, we wrote a short white paper about it. Check it out, here.

 

Getting Started

Enabling all of the above is as simple as configure a Databricks-specific DataSource, via this panel, accessible from the Developers menu while viewing any model. Note this is a particularly powerful, and thus, ClearFactr Administrator enabled feature of the platform. We'll discuss all of this as we get you and your company onboarded.

ClearFactrDataSourceEditor-1

The Details

When logged into your Databricks account, here's how to find the specific items you'll need for your DataSource:

  1. Deployment Name: use the GUID at the far left of your browser URL, such as 'abc-123ab4de-1b9a'. You don't need the '.cloud.databricks.com'
  2. Warehouse Name: use the GUID found under 'SQL Warehouses' in the 'Compute' section.
  3. Depending on your chosen Auth Type, you'll need either the username/password of your Personal Access Token, or the OAuth ClientID and Client Secret for your OAuth-enabled connection.
    1. For PAT, look under User icon / Settings / User / Developer / Access Tokens
    2. For OAuth U2M, look under Organization menu / Manage account / Settings / App Connections
  4. For OAuth M2M, look under Organization menu / Manage account / User Management / Service Principals
  5. For all Auth Types, you'll use the 'Test' button to validate your credentials.
  6. For OAuth U2M connections, please specify 'https://cfdemoapp.com/oauth/cdw_redirect' as the Redirect URL


Note: When testing, if you're already logged into Databricks in a browser window, you'll immediately see a JSON Access Token upon test completion. If you're not logged in, the testing process will have you authenticate yourself via Databricks' site.

Once your Databricks DataSource is configured, you'll be able to reference it in one or more CFSQL functions to bring data into your model on the fly. Click here to learn more about the Query Builder tool that facilitates this.

Please contact the ClearFactr team with any and all comments, suggestions and requests.