Configure multiple triggers for your Lakeflow Jobs in Databricks
You can now add up to five triggers of the same or different types to a single Lakeflow Job and pause each independently.
O que mudou
Use cases
Imagine that you have a data engineering job that needs to run when a table is updated, but you also want to ensure a scheduled backup run. With this update, you can combine multiple triggers in the same job for different events.
- Combine different trigger types (schedule, table update, file arrival, model update, or continuous).
- Add multiple triggers of the same type.
- Pause and resume each trigger independently.
How to use
To configure multiple triggers using the Jobs API, use the triggers array inside JobSettings.
{
"name": "my_job",
"triggers": [
{
"schedule": {
"quartz_cron_expression": "0 0 12 * * ?",
"timezone_id": "UTC"
}
},
{
"table": {
"table_name": "my_catalog.my_schema.my_table"
}
}
]
}
What happens in this code:
- The
nameparameter defines the job name. - The
triggersarray groups the firing conditions. - The first object configures a schedule-based trigger.
- The second object configures a table-update-based trigger.
Limitations and requirements
- The feature is in Beta.
- A job can have up to five active triggers.
- Continuous triggers cannot be combined with other triggers.
- A workspace can have up to 12,000 active triggers across all jobs, and paused triggers do not count toward this limit.
- Workspace admins must enable the Multiple Triggers setting from the workspace Previews page.
- lakeflow jobs
- triggers
- automation
- jobs api
- orchestration
Use multiple triggers for Lakeflow Jobs (Beta)
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis