Specify cluster when using dbutils.notebook API

ErikJ
New Contributor III

Hello! Anyone know if there is a way of specifying cluster when using dbutils.notebook.run() ? As i understand it, this command will create a job compute on the run? but what if I want to use my general purpose cluster? I have been thinking of %run but it just doesn't feel like a proper way of executing multiple notebooks from a "main" notebook..

filipniziol
Esteemed Contributor

Hi @ErikJ ,

When you run a child notebook from parent notebook, the child notebook will use the same cluster.

View solution in original post

ErikJ
New Contributor III

Thanks for the answear, could I ask from where you got this information? Feels like I've been searching for days now...

filipniziol
Esteemed Contributor

Hi @ErikJ ,

Check the docs:

filipniziol_0-1726815726928.png

Also you may run the help method:

.filipniziol_1-1726815769637.png
The parameters of the method are:
1. path
2. timeoutSeconds
3. arguments

View solution in original post