Add a Databricks connection

Follow these steps to connect to Databricks databases:

  1. Click Data in the top navigation bar.

  2. Click the Connections tab at the top of the page, and then click + Add connection at the upper-right-hand side of the page.

  3. 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

    Add Databricks connection
  4. Click Connect.

  5. In the Specify connection details interface, enter the connection details for your Databricks data source.

    connection databricks specify details
    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.

  6. Click Continue.

  7. In the Select tables interface, select the tables and columns that ThoughtSpot can read through the new connection.

    • 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.

    1. Select tables (on the left)

    2. Select columns from each table (on the right)

  8. Click Create connection.

    After ThoughtSpot creates the new connection, it displays a message about the number of tables and columns in that connection.

  9. Click Confirm.


Your new connection appears on the Data > Connections interface.

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.

New 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.



Was this page helpful?