How to Determine Which CLI Methods to Use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 11:07 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2024 05:09 AM
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2024 03:17 PM
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.

