Learn how to execute one Databricks notebook from another using both the `%run` magic command and the `dbutils.notebook.run` utility. This video walks through each method, demonstrates parameter passing, output handling, and exception management with live demos.
Notebooks used are available at below path:
https://github.com/databeli/databrick...
Plan 1 on 1 with me at below URL:
https://topmate.io/narender_kumar_91/
What you will learn:
The differences between `%run` and `dbutils.notebook.run` and when to use each
How to import variables and functions from another notebook using `%run`
Passing parameters to child notebooks with both approaches
Retrieving output values from a called notebook using `dbutils.notebook.exit`
Implementing robust exception handling and status reporting for notebook calls
Best practices for specifying notebook paths and managing timeouts
If you enjoyed the content, please like the video, leave a comment with your questions, and subscribe to the channel for more Databricks tutorials.
#databricks #notebook #dbutils #pyspark