The Workspace is the special root folder for all of your organization’s Databricks assets. The Workspace stores all your notebooks, libraries, and dashboards. By default, the Workspace and all its contents are available to users, but each user also has a private home folder that is not shared. You can control who can view, edit, and run objects in the Workspace by enabling Workspace access control.
You can create and manage the Workspace using the UI, the CLI, and by invoking the Workspace API. This topic focuses on performing Workspace tasks using the UI. For the other methods, see Databricks CLI and Workspace API.
Folders hold everything within the Workspace. This is just like a folder on your desktop or local computer.
- Folders can contain notebooks, libraries, and other folders.
- Icons indicate the type of the object contained in a folder.
Click a folder name to open or close the folder and view its contents.
A Databricks Workspace has three special folders: Workspace, Shared, and Users. You cannot rename or move a special folder.
The Workspace is the special root folder for all of your organization’s Databricks assets. You can sort all files alphabetically or by type (folder, notebook, library) across all folders by clicking to the right of the Workspace folder and selecting Sort > [Alphabetical | Type]:
The Shared folder is for sharing objects across your organization.
The Users folder contains the folder for each registered user.
Each user has a folder for their own personal notebooks and libraries:
If you have workspace access control activated in your account, by default objects in this folder are private to that user.
When you remove a user, the user folder is not deleted.
To perform an action on a folder, click the at the right side of a folder.
From the drop-down menu you can:
- Create a notebook, library, or nested folder contained in the folder
- Clone the folder to create a deep copy of the folder
- Rename the folder
- Move the folder to Trash. Objects in the Trash folder are permanently deleted after 30 days. To delete immediately, see Delete an object.
- Move the folder to another location
- Import a saved Databricks archive into the selected folder
- Export the folder to save it and its contents as a Databricks archive
- If you have Workspace access control enabled, select Permissions to set access controls on the folder.
The objects stored in the Workspace are folders, notebooks, and libraries.
To perform an action on an object, right-click the object or click the at the right side of an object.
From the drop-down menu you can:
- If the object is a folder, create a notebook, library, or nested folder contained in the folder
- Clone the object
- Rename the object
- Move the object to Trash. Objects in the Trash folder are permanently deleted after 30 days. To delete immediately, see Delete an object.
- Move the object to another location
- Delete the object
- If the object is a folder, import a saved Databricks archive
- Export the folder or notebook as a Databricks archive
- If the object is a notebook, copy the notebook’s file path
- If you have Workspace access control enabled, select Permissions to set access controls on the object.
To move an object, you can drag-and-drop the object or click the or at the right side of the object and select Move:
To move all the objects inside a folder to another folder, select the Move action on the source folder and select the Move all items in ‘<folder-name>’ rather than the folder itself checkbox.
To delete a folder, notebook, or library, click the or at the right side of the object and select Move to Trash. The Trash folder is automatically emptied (purged) after 30 days.
You can permanently delete an object in the Trash by selecting the to the right of the object and selecting Delete Immediately.
You can permanently delete all objects in the Trash by selecting the to the right of the Trash folder and selecting Empty Trash.
To search the workspace, click the Search Icon in the sidebar and type a search string in the Search Workspace field. As you type, objects (folders, notebooks, and libraries) whose name contains the search string are listed.