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

3 REPLIES 3

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

Kaniz
Community Manager
Community Manager

Hi @Ramesh Kotha​ , Just a friendly follow-up. Do you still need help, or @Hubert Dudek (Customer)​ 's response help you to find the solution? Please let us know.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!