Skip to main content

Databricks

17 commands. Toolkit id ooa.databricks.

CommandWhat it does
Cancel job runStop a job run that is queued or running.
Cancel statementStop a SQL statement that is still running.
ConnectKeep the address and sign-in under a session for the steps after it, so they need not repeat them (G6).
Delete fileDelete a file from a Unity Catalog volume, the workspace, or DBFS (a DBFS folder with recursive).
DisconnectForget the open Databricks session; later steps then need their own address and sign-in (G6).
Download fileSave a file from a Unity Catalog volume, the workspace, or DBFS to this machine.
Get job runCheck the progress and outcome of a job run.
Get job run outputRead what a finished job run produced: the notebook's result, the error and its trace, and the logs, for each task of the run.
Get statement resultsRead the rows of a finished SQL statement into a data table, chunk by chunk.
Get statement statusCheck whether a SQL statement that was left running has finished.
List clustersReturn the workspace's clusters and their state.
List jobsReturn the jobs in the workspace, optionally only those with a given name.
Run job nowStart a job right away, optionally with parameters, and wait for it to finish if you like.
Run SQL statementRun SQL on a SQL warehouse and return the rows as a data table. Use :name in the SQL for values passed in parameters.
Start clusterStart a stopped cluster, and wait until it is running if you like. Nothing happens if it is already running.
Stop clusterStop a running cluster to save cost. Its settings are kept so it can be started again. Optionally wait until it has stopped.
Upload fileCopy a local file into a Unity Catalog volume, the workspace, or DBFS.