<?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 Debugging a workflow in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99124#M39908</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;With the new availability of debugging notebooks are really great. But how do you debug a workflow? Any suggestions on recommended practices on how to debug workflows?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best R, Thomas&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 10:33:55 GMT</pubDate>
    <dc:creator>Sega2</dc:creator>
    <dc:date>2024-11-18T10:33:55Z</dc:date>
    <item>
      <title>Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99124#M39908</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;With the new availability of debugging notebooks are really great. But how do you debug a workflow? Any suggestions on recommended practices on how to debug workflows?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best R, Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:33:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99124#M39908</guid>
      <dc:creator>Sega2</dc:creator>
      <dc:date>2024-11-18T10:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99139#M39914</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/122912"&gt;@Sega2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to this doc and confirm if it's helpful&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/jobs/repair-job-failures.html#re-run-failed-and-skipped-tasks" target="_blank"&gt;https://docs.databricks.com/en/jobs/repair-job-failures.html#re-run-failed-and-skipped-tasks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 11:18:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99139#M39914</guid>
      <dc:creator>MuthuLakshmi</dc:creator>
      <dc:date>2024-11-18T11:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99172#M39918</link>
      <description>&lt;P&gt;I am not trying to fix a failed job, but trying to find an approach to debug a workflow line by line. You can debug a note book, but how do you debug a workflow?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 13:09:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99172#M39918</guid>
      <dc:creator>Sega2</dc:creator>
      <dc:date>2024-11-18T13:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99173#M39919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/122912"&gt;@Sega2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can't debug from workflows UI. If notebook/python code failed in workflow, you need to manually find that notebook/module and then you can run it manually (passing all required parameters, if any) and use debugger from there.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 13:15:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99173#M39919</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-11-18T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99179#M39920</link>
      <description>&lt;P&gt;Thanks. I think we are getting closer now. What is the recommended practice for passing parameters in the notebook? In the notebook you have something like&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;key1&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;dbutils.widgets.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Key1"&lt;/SPAN&gt;&lt;SPAN&gt;) getting variables from the workflow. How do you simulate that in the notebook?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Nov 2024 13:36:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99179#M39920</guid>
      <dc:creator>Sega2</dc:creator>
      <dc:date>2024-11-18T13:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99182#M39921</link>
      <description>&lt;P&gt;You can define widgets in your notebook in the following way (see screenshot). When databricks workflow is running it will pass all required parameters and you can use code you've provided to read these values&amp;nbsp;&lt;STRONG&gt;key1=dbutils.widgets.get("Key1").&lt;/STRONG&gt;&lt;BR /&gt;But, let's say that something went wrong and you want to debug. Than just fill parameters of widget with values and&lt;BR /&gt;and now you can debug without changing any code&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;dbutils.widgets.text("param_source_schema", defaultValue="")
param_source_schema = dbutils.widgets.get("param_source_schema")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1731937839767.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12961i8DD89E345DA3C744/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1731937839767.png" alt="szymon_dybczak_0-1731937839767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 13:51:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99182#M39921</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-11-18T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a workflow</title>
      <link>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99395#M39983</link>
      <description>&lt;P&gt;That makes perfectly sense. Seems like thats the way to go. Thanks alot appreciated. I am new to Databrix how do you normally debug as an experienced DBX developer? Databricks connect or just in the browser and built in UI?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 16:24:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/debugging-a-workflow/m-p/99395#M39983</guid>
      <dc:creator>Sega2</dc:creator>
      <dc:date>2024-11-19T16:24:04Z</dc:date>
    </item>
  </channel>
</rss>

