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:ย 

Can we execute a single task in isolation from a multi task Databricks job

Linda22
New Contributor

A task may be used to process some data. If we have 10 such tasks in a job and we want to process only a couple of datasets only through a couple of tasks, is that possible?

 

3 REPLIES 3

LordLean
New Contributor II

Hi @Retired_mod, where within the Databricks Workflows feature is one able to execute a single task of a job in isolation? I don't see any way to control this via the UI, nor the Jobs API.

Kannathasan
New Contributor III

No, you do not have any direct way to do it but you can do work around by introducing parameter "Skip_job"(Custom Parameter) in your tasks by default you can make it True in all tasks, when you want to run only one or two of them just adjust the parameter value in Databricks Workflow console for rest of tasks as Skip_job = False, By doing this you could achieve. 

Ah great workaround! Thank you.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group