cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community 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
New Contributor III
New Contributor III

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
Honored Contributor
Honored Contributor

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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!