HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dbx — Interact with the Databricks platform. Note: This tool has been retired and it is recommended to use

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandinteractclidatabrickswithplatformdbx

Problem

How to use the dbx command: Interact with the Databricks platform. Note: This tool has been retired and it is recommended to use Databricks Asset Bundles instead. More information: <https://dbx.readthedocs.io/en/latest/reference/cli/#dbx>.

Solution

dbx — Interact with the Databricks platform. Note: This tool has been retired and it is recommended to use Databricks Asset Bundles instead. More information: <https://dbx.readthedocs.io/en/latest/reference/cli/#dbx>.

Create a new dbx project in the current working directory:
dbx configure --profile {{DEFAULT}}


Sync local files from the specified path to DBFS and watch for changes:
dbx sync dbfs --source {{path/to/directory}} --dest {{path/to/remote_directory}}


Deploy the specified workflow to artifact storage:
dbx deploy {{workflow_name}}


Launch the specified workflow after deploying it:
dbx launch {{workflow_name}}

Code Snippets

Create a new `dbx` project in the current working directory

dbx configure --profile {{DEFAULT}}

Sync local files from the specified path to DBFS and watch for changes

dbx sync dbfs --source {{path/to/directory}} --dest {{path/to/remote_directory}}

Deploy the specified workflow to artifact storage

dbx deploy {{workflow_name}}

Launch the specified workflow after deploying it

dbx launch {{workflow_name}}

Context

tldr-pages: common/dbx

Revisions (0)

No revisions yet.