Luc Soret
02/12/2025, 4:49 PMdatabricks.yml
in conf in order to generate the yaml to deploy on databricks workflow, with the command run kedro databricks bundle
, I wanted Let's say I have something like :
<my_job>:
schedule:
# Run at 12:50
quartz_cron_expression: '00 30 10 * * ?'
timezone_id: Europe/Paris
This works fine and the file is well generated
Same, if i'm doing something like :
<my_job>:
schedule:
# Run at 12:50
quartz_cron_expression: '00 30 10 * * ?'
timezone_id: Europe/Paris
tasks:
- task_key: default
run_if: AT_LEAST_ONE_SUCCESS
Every tasks from my_job
has the run_if conditions. However, I just wanted that a specific task inherits this run_in condition :
<my_job>:
schedule:
# Run at 12:50
quartz_cron_expression: '00 30 10 * * ?'
timezone_id: Europe/Paris
tasks:
- task_key: <my_task>
run_if: AT_LEAST_ONE_SUCCES
But this is not correctly converted to my ressource file from this job
Do you have any idea on how I can solve this ? Cheers !Hall
02/12/2025, 4:50 PMJitendra Gundaniya
02/12/2025, 5:56 PMdepends_on
?Luc Soret
02/12/2025, 6:21 PMrun kedro databricks bundle
However, I don't manage to add the run_if : AT_LEAST_ONE-SUCESS
for this given taskJitendra Gundaniya
02/12/2025, 7:52 PMtasks_override
works or you can separate the tasks into different Databricks jobs.