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_Fatma
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!