<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Databricks tasks are not skipping if running tasks using Airflow DatabricksworkflowTaskgroup in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111530#M9105</link>
    <description>&lt;P&gt;Thanks for your message&lt;BR /&gt;Creating the "Run if"or condition task type is currently not available with Airflow databricks provider.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 04:34:19 GMT</pubDate>
    <dc:creator>anil_reddaboina</dc:creator>
    <dc:date>2025-03-03T04:34:19Z</dc:date>
    <item>
      <title>Databricks tasks are not skipping if running tasks using Airflow DatabricksworkflowTaskgroup</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111050#M9103</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Currently we are facing a challenge with below use case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The Airflow DAG has 4 tasks (Task1, Task2, Task3 and Task4) and The dependency is like this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Task 1&amp;gt;&amp;gt; Task2 &amp;gt;&amp;gt; Task3 &amp;gt;&amp;gt; Task4 &lt;/EM&gt;(All tasks are spark-jar task types&lt;/P&gt;&lt;P&gt;In Airflow DAG for Task2, there is a dynamic skip condition, if the feature flag is not enabled then skip the Task2 execution and hence the Task3 and Task4 are also skipped due to the upstream task (Task2) skipped. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;: As stated above Task2 got skipped in Airflow DAG UI execution, &amp;nbsp;but in Databricks Workflow the Task2 is still continuing the execution, which is creating the unwanted data insertion in the system. (Same for Task3 and Task4 also)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: We found that there is conditional tasks (if/else) task type, we don’t have a provision to create the conditional tasks from Airflow operator as per the latest Airflow version (2.10.4 and &amp;nbsp;Databricks-provide 7.0.0). Is there any provision to skip the tasks in the Databricks workflow based on the airflow task status ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 14:09:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111050#M9103</guid>
      <dc:creator>anil_reddaboina</dc:creator>
      <dc:date>2025-02-24T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks tasks are not skipping if running tasks using Airflow DatabricksworkflowTaskgroup</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111055#M9104</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/150521"&gt;@anil_reddaboina&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Databricks allows you to add control flow logic to tasks based on the success, failure, or completion of their dependencies. This can be achieved using the "Run if" dependencies fiel:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/jobs/run-if" target="_blank"&gt;https://docs.databricks.com/aws/en/jobs/run-if&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 14:48:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111055#M9104</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-24T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks tasks are not skipping if running tasks using Airflow DatabricksworkflowTaskgroup</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111530#M9105</link>
      <description>&lt;P&gt;Thanks for your message&lt;BR /&gt;Creating the "Run if"or condition task type is currently not available with Airflow databricks provider.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 04:34:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-tasks-are-not-skipping-if-running-tasks-using-airflow/m-p/111530#M9105</guid>
      <dc:creator>anil_reddaboina</dc:creator>
      <dc:date>2025-03-03T04:34:19Z</dc:date>
    </item>
  </channel>
</rss>

