cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Determine Which CLI Methods to Use?

baricado
New Contributor

The Databricks CLI is considered Legacy for versions below 0.17 and is in Public Preview for versions above 0.20. I have access to documentation for both these versions separately. As I am developing a new project, I prefer not to use legacy options and would like to avoid Public Preview features until they reach General Availability (GA). How should I approach these versions? Should I proceed with version 0.20, anticipating its transition to GA? If so, what is the expected timeline for this?

2 REPLIES 2

mhiltner
Databricks Employee
Databricks Employee

I don't know the timeline but i'd go with the latest version. From experience, Databricks CLI is stable and GA usually takes time because new features are always being added - like DABs recently. You shouldn't expect problems with the latest versions, and less yet if you use common "older" commands like clusters, groups, permissions...

NandiniN
Databricks Employee
Databricks Employee

While the legacy CLI (versions 0.18 and below) is still available, it is not receiving any non-critical updates and it is recommend migrating to the new CLI as soon as possible.

"Databricks recommends that you use Databricks CLI version 0.205 or above instead of the legacy Databricks CLI version 0.18 or below. Databricks CLI version 0.18 or below is not supported by Databricks."

So, to answer to you, it is better to go with the version 0.20 although the GA dates are not yet decided and you can always get support if there are any feature requests/issues that you face.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group