Skip to content

Connect to Databricks

Please follow the steps below to connect to the Databricks data source.

  1. Click "New Data Connection" in the upper right corner of the Data Connection page.

  2. Select the Databricks data source from the data source types.

  3. Fill in the parameters for the data source as required.

  • Name: The name of the connection, which must be unique.
  • Database: The name of the database. If the url field is filled, the url will be used first.
  • Maximum Connections: The maximum number of connections in the connection pool.
  • Prefer Database Comment for Dataset Title: Whether to display the table name or the table comment first. When enabled, the title is displayed; when disabled, the table comment is displayed.
  • Data Gateway: Fill in the Data Gateway ID when the connection is made through a data gateway.
  • URL: The JDBC URL of the database.
  • Hierarchical Loading of Schemas and Tables: When turned off, both schemas and tables are loaded simultaneously. When turned on, schemas and tables are loaded hierarchically, with only schemas being loaded during the connection process, allowing the data source to be quickly integrated into the system.
  • Show Tables Only from Specified Database/Schema: When this option is selected and the database field is not empty, only tables from that database will be displayed.
  1. After filling in the parameters, click the "Verify" button to obtain the verification result (verifying the connectivity between HENGSHI SENSE and the configured data connection; adding is not allowed if the verification is not passed).

  2. Click to execute the preset code, and the preset code corresponding to the data source will pop up. Click the execute button.

  3. Click the "Add" button to add the configured Databricks connection.

Please note

  1. Parameters marked with * are required, while others are optional.
  2. When connecting to a data source, the preset code must be executed. Failure to do so will result in the inability to use certain functions during data analysis.

HENGSHI SENSE Platform User Manual