<?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 Running a notebook as 'Run all below' when sheduled via Azure DataFactory in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/running-a-notebook-as-run-all-below-when-sheduled-via-azure/m-p/111362#M43862</link>
    <description>&lt;P&gt;We have a notebook with a lot of subsequent cells that can run independent from each other. When we execute the notebook manually via 'Run all', the runs stops when an error is thrown. When we execute manually via 'Run all below', the run proceeds till the end, even if there was an error. If I understand correctly, this is how it works in DataBricks.&lt;BR /&gt;We have scheduled the run of this notebook now on a daily basis as an Activity (Databrick Notebook) in Azure DataFactory. The problem for us is that the execution is always running as 'Run all' i.e. the run stops when an error is given. Actually we want that the run proceeds until the end of the notebook, also when there is an error (so the run with 'Run all below'). Is there a way to do this via DataFactory or to add/change something in the notebook/cluster, that it always runs as 'Run all below'?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 10:16:23 GMT</pubDate>
    <dc:creator>LeenB</dc:creator>
    <dc:date>2025-02-27T10:16:23Z</dc:date>
    <item>
      <title>Running a notebook as 'Run all below' when sheduled via Azure DataFactory</title>
      <link>https://community.databricks.com/t5/data-engineering/running-a-notebook-as-run-all-below-when-sheduled-via-azure/m-p/111362#M43862</link>
      <description>&lt;P&gt;We have a notebook with a lot of subsequent cells that can run independent from each other. When we execute the notebook manually via 'Run all', the runs stops when an error is thrown. When we execute manually via 'Run all below', the run proceeds till the end, even if there was an error. If I understand correctly, this is how it works in DataBricks.&lt;BR /&gt;We have scheduled the run of this notebook now on a daily basis as an Activity (Databrick Notebook) in Azure DataFactory. The problem for us is that the execution is always running as 'Run all' i.e. the run stops when an error is given. Actually we want that the run proceeds until the end of the notebook, also when there is an error (so the run with 'Run all below'). Is there a way to do this via DataFactory or to add/change something in the notebook/cluster, that it always runs as 'Run all below'?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 10:16:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-a-notebook-as-run-all-below-when-sheduled-via-azure/m-p/111362#M43862</guid>
      <dc:creator>LeenB</dc:creator>
      <dc:date>2025-02-27T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running a notebook as 'Run all below' when sheduled via Azure DataFactory</title>
      <link>https://community.databricks.com/t5/data-engineering/running-a-notebook-as-run-all-below-when-sheduled-via-azure/m-p/111366#M43864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/151126"&gt;@LeenB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example each cell execution you can build up with try except command. Example below&lt;/P&gt;&lt;P&gt;try:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; print("Hello world")&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;#your code of each cell&lt;/P&gt;&lt;P&gt;except Exception as e:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; print("Issue with printing hello world")&lt;/P&gt;&lt;P&gt;For sure it is not recommended approach but it will work&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 11:30:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-a-notebook-as-run-all-below-when-sheduled-via-azure/m-p/111366#M43864</guid>
      <dc:creator>PiotrMi</dc:creator>
      <dc:date>2025-02-27T11:30:06Z</dc:date>
    </item>
  </channel>
</rss>

