Add a Databricks connection
Follow these steps to connect to a Databricks database:
-
Click Data in the top navigation bar.
-
Click the Connections tab at the top of the page, and then click + Add connection at the upper-right-hand side of the page.
-
In the Choose your data warehouse interface, specify the fields:
- Name your connection
-
For example, MyDatabricksDatabase
- Describe your connections
-
The optional description of the database
- Choose your data warehouse
-
Select the Databricks tile
-
Click Connect.
-
In the Specify connection details interface, enter the connection details for your Databricks data source.
- Host
-
Databricks server host name without the protocol.
- HTTP Path
-
Path to the host in HTTP format
- User
-
The user account name
- Password
-
The password of the user account
Refer to the Databricks connection reference for more information on each of the specific attributes you must enter for your connection.
- Additional configuration
-
You can also click to open the Advanced Config section, and enter additional parameters as Key and Value pairs. To add more keys and values, click the plus sign (+), and add them. Refer to the cloud data warehouse’s JDBC driver reference documentation for information on the supported keys and values.
-
The key-value pairs must be already defined in your data source.
-
Key-value pairs are case-sensitive.
-
-
Click Continue.
-
Select the tables and columns for your new connection.
-
Select tables (on the left)
-
Select columns from each table (on the right)
-
When you select multiple tables that share data, ThoughtSpot recognizes existing joins within the new connection. You can also add joins at a later time.
-
For very wide tables, select only the columns that you need for calculations, filters, and joins.
-
-
-
Click Create connection.
After ThoughtSpot creates the new connection, it displays a message about the number of tables and columns in that connection.
-
Click Create.
Your new connection appears on the Data > Connections page.
The connection you just created is a link to an external data source. If the external data source contains joins, ThoughtSpot recognizes them.
After you add the connection, you can search your database.
Click the name of your connection to view the tables and columns in your connection.
You can now perform a live query on the tables and columns of your connection. Because the selected tables and columns in your connection are outside ThoughtSpot (they are linked, not imported), it may take a little longer to render the initial search results. This is because ThoughtSpot does not cache linked data.
Related information