Notebooks in Workspaces limitations¶
Notebook services and runtime¶
Notebook services are subject to an account limit of 200 active services.
Notebooks in different workspaces cannot share a service.
Notebooks in the same workspace connect to a shared service by default.
Users may create multiple services within a workspace and assign notebooks to different services as needed.
Notebook services may be restarted over the weekend for container service maintenance. After a restart, you must rerun notebooks and reinstall any packages to restore variables and packages.
Custom container images and the artifact repository are not yet supported in Notebooks in Workspaces.
Package installation and listing behavior differs between
uvand standardpip. Snowflake supports installing packages usinguv pip install, anduv pip freezelists only packages installed usinguv pip install. To view a complete list of all packages, including those in the base image and those installed with standardpip install, usepip freeze.Communicating with external stages is not supported.
Using notebooks in Workspaces¶
Renaming notebook files, folders, or the workspace can cause unexpected behavior, including service disconnection, clearing the notebook’s output cache, or delays in updating referenced files.
If you are disconnected, try reconnecting the notebook. If you renamed the workspace, create and use a new service.
Secondary roles are no longer required to use personal workspaces.
If secondary roles aren’t set to ALL, the user must select a role with OWNERSHIP or USAGE on compute pools and EAIs to create a service. Other personal workspace features, such as SQL files and Git integration, remain available.
If account session policies block the use of secondary roles, notebooks cannot run in personal workspaces.
Editing and running notebooks¶
iPywidgets are not yet supported.
Embedding images in Markdown cells or using remote images via URLs is not yet supported.
To embed an image in your notebook, upload it to your workspace and display it using a Python cell, for example:
from IPython.display import Image, display display(Image(filename="path/to/example_image.png"))
For a cleaner presentation, you can collapse the code cell to show only the image result.
Cell outputs are not saved to the
.ipynbfile and cannot be exported.SQL cells cannot run EXECUTE NOTEBOOK PROJECT (non-interactive execution). To chain notebooks, use Jupyter magic such as
%run, which executes another notebook in the same Python process.Currently, the notebooks invoked by
%runcan only support pure Python processes.Interactive data grids do not render in Notebooks in Workspaces.
Cell referencing is not supported.
SQL cells can be converted to Python cells that start with
%%sql.Queuing cells is not supported, except when Run all executes all the cells in your notebook sequentially.
Using the original Snowflake Notebooks in Workspaces¶
If you have an original Snowflake Notebook and would like to use it in Workspaces, you must first export the .ipynb file and any supporting
files, then upload them to your workspace.
Note
Not all original notebook files will run successfully and may require updates to align with the new environment. The table below outlines the updates available in Notebooks in Workspaces. More dedicated upgrade support will be available soon.
Area |
Original notebooks |
New notebooks |
|---|---|---|
Compute |
Users must choose between Warehouse and Container Runtime. |
Simplified user experience with Container Runtime only.
|
File system / IDE environment |
Partially supported. |
Full IDE environment with:
|
Package management |
|
More flexible package management options:
|
Support for Streamlit |
Supported. |
Not supported. Use libraries such as |
Jupyter compatibility |
Some Jupyter magics are supported. |
Full support. Use Jupyter magics such as |
If you have questions about availability timelines for specific features, ask your account representative to contact the Notebooks product team.