


























We can use the Databricks cli to interact with Databricks workspaces programmatically on the command line. In this post, I want to share simple usage about Databricks cli.
On macOS, we can install databricks cli via Homebrew:
brew tap databricks/tap
brew install databricksPersonal access token:
User setting --> Developer --> Access tokens, there, you can generate a new token for connection in the cli.
Connect to databricks:
Paste the databricks workspace URL: https://adb-<workspace-id>.azuredatabricks.net/ and the personal access token.
To add a second profile, just edit ~/.databrickscfg, and add a new section:
[new_profile_name]
host = xxxxx
token = xxxxx
profile = profile_nameShow a list of configured profiles:
Show info about a profile:
databricks auth env --profile <profile_name>此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。