Ultimate access to all questions.
How can you execute one notebook from another within Databricks?
Explanation:
The correct method to run one notebook from another is dbutils.notebook.run("full notebook path")
. This command allows for additional options such as setting a timeout and passing arguments. The full syntax includes: run(path: String, timeout_seconds: int, arguments: Map): String
. For example: dbutils.notebook.run("ful-notebook-name", 60, {"argument": "data", "argument2": "data2", …})
.