cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

scheduling a job with multiple notebooks using common parameter

Rk2
New Contributor II

I have a practical use caseโ€‹

three notebooks (pyspark ) all have onโ€‹e common parameter.

โ€‹

need to schedule all three notebooks in a sequence

โ€‹

is there any way to run them by setting one parameter value, as they are same in all.

โ€‹

please suggest the best way to do it.

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

@Ramesh Kothaโ€‹ , in notebook get parameter like that:

my_parameter = dbutils.widgets.get("my_parameter")

and set it in a task like that:

image.png

View solution in original post

2 REPLIES 2

Hubert-Dudek
Esteemed Contributor III

@Ramesh Kothaโ€‹ , in notebook get parameter like that:

my_parameter = dbutils.widgets.get("my_parameter")

and set it in a task like that:

image.png

Hi @Ramesh Kothaโ€‹ ,

Just a friendly follow-up. Did @Hubert Dudekโ€‹ response help you to resolve your questions/issue? Please let us know

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group