- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 03:59 AM - edited 12-02-2024 03:59 AM
Hello Community, I want to pass parameters to my Databricks job through the DABs CLI. Specifically, I'd like to be able to run a job with parameters directly using the command:
I believe this involves handling the databricks.yaml file, but I'm unsure how to configure it correctly to achieve this. Could anyone provide guidance on how to set this up?
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 07:00 AM - edited 12-02-2024 07:04 AM
Hi @jeremy98 ,
You can pass parameters using CLI in following way:
databricks bundle run -t ENV --params Param1=Value1,Param2=Value2 Job_Name
And in your yml file you should define parameters in similar way to following:
You can find more info in following documentation entry:
bundle command group | Databricks on Google Cloud