<?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 notebook returns succeeded even if there is a failure in any of the command in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/notebook-returns-succeeded-even-if-there-is-a-failure-in-any-of/m-p/74561#M34754</link>
    <description>&lt;P&gt;I'm trying to run a notebook that has 14 commands from adf notebook activity, I'm writing the transformed data to a delta table in the last command. I'm handling the last command in try except block to handle errors, and raising error on exception.&lt;BR /&gt;&lt;BR /&gt;when I run the notebook from adf, the job run status shows succeeded even if any of the command fails. I need the notebook status to be returned as failure even if any of the command fails. But if there is a failure in any command the following commands are skipped. Sometimes even on raising exception in try except block, the status of the notebook is still displayed as succeeded.&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the actual status of the notebook job run.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moulitharan_0-1718611669417.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8738i6FC1A0F8C1A2A45D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="moulitharan_0-1718611669417.png" alt="moulitharan_0-1718611669417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 08:08:18 GMT</pubDate>
    <dc:creator>moulitharan</dc:creator>
    <dc:date>2024-06-17T08:08:18Z</dc:date>
    <item>
      <title>notebook returns succeeded even if there is a failure in any of the command</title>
      <link>https://community.databricks.com/t5/data-engineering/notebook-returns-succeeded-even-if-there-is-a-failure-in-any-of/m-p/74561#M34754</link>
      <description>&lt;P&gt;I'm trying to run a notebook that has 14 commands from adf notebook activity, I'm writing the transformed data to a delta table in the last command. I'm handling the last command in try except block to handle errors, and raising error on exception.&lt;BR /&gt;&lt;BR /&gt;when I run the notebook from adf, the job run status shows succeeded even if any of the command fails. I need the notebook status to be returned as failure even if any of the command fails. But if there is a failure in any command the following commands are skipped. Sometimes even on raising exception in try except block, the status of the notebook is still displayed as succeeded.&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the actual status of the notebook job run.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moulitharan_0-1718611669417.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8738i6FC1A0F8C1A2A45D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="moulitharan_0-1718611669417.png" alt="moulitharan_0-1718611669417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 08:08:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/notebook-returns-succeeded-even-if-there-is-a-failure-in-any-of/m-p/74561#M34754</guid>
      <dc:creator>moulitharan</dc:creator>
      <dc:date>2024-06-17T08:08:18Z</dc:date>
    </item>
  </channel>
</rss>

