Databricks SQL with DBine

How to connect DBine to Databricks SQL and what you can do once it's connected. This page is written from what the Databricks SQL driver says about itself, so it matches the version of DBine you download.

Connect

  1. In DBine, open New connection.
  2. Pick Databricks SQL in the list of engines.
  3. Fill in the fields below, press Test connection and then Save.

Default port: 443.

General

FieldDescription
Workspace requiredExample: dbc-a1b2c3d4-e5f6.cloud.databricks.com
SQL warehouse requiredThe warehouse's HTTP path or just its ID.
Example: /sql/1.0/warehouses/abcdef1234567890
AuthenticationOptions: Personal access token, Service principal OAuth
Default: Personal access token
Personal access tokenKept in the system keychain, never in DBine's files.
Only with Authentication: Personal access token.
Client ID (service principal)Only with Authentication: Service principal OAuth.
Client secretKept in the system keychain, never in DBine's files.
Only with Authentication: Service principal OAuth.
Database
Default schemaExample: default
Read-onlyOn or off.

SSH tunnel. The connection can go through an SSH server, even through a chain of bastions, with a password, a private key or the SSH agent. The server's fingerprint is checked against known_hosts or confirmed the first time.

What the explorer shows

Under the connection: Catalogs, each with its schemas. Inside each one:

Query editor

The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.

Ready-made templates for new objects:

Tools for Databricks SQL

Available

  • Graphical execution plans
  • Live query profiler
  • Server monitor
  • Sessions and running queries
  • Cancel another session's query from the sessions list
  • Index usage
  • Create databases
  • Drop databases
  • Database properties
  • Relations in the ER diagram
  • Visual designer for new objects
  • Rename objects
  • Compare and sync schemas
  • Native bulk load when migrating data
  • Users and permissions
  • Backups

Not available for Databricks SQL

  • End a session
  • Locks: who blocks whom
  • Manual transactions (commit and rollback)
  • Clone tables

Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.

Generated from the Databricks SQL driver 0.1.10, which DBine downloads the first time you connect to Databricks SQL.

Download DBineAll engines