<?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 workflow deployment issue in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-deployment-issue/m-p/102604#M41176</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/118910"&gt;@suryateja405555&lt;/a&gt;, How are you doing today?&lt;/P&gt;&lt;P&gt;As per my understanding,&amp;nbsp;Make sure ETL_data_checks is properly declared in the tasks section of your workflow configuration in the root module. For example, add it with a task_key and its respective properties like notebook_path and cluster_key. Verify that ETL_schema_checks references the correct task_key for ETL_data_checks, ensuring the dependency aligns with the workflow logic. Double-check naming consistency between the task definition and its references to avoid any mismatches. After fixing, validate the asset bundle using the Databricks CLI to ensure there are no errors in the configuration. Lastly, confirm that all tasks have their cluster resources appropriately associated.&lt;/P&gt;&lt;P&gt;Please give a try and let me know if helps. Good day.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 03:07:45 GMT</pubDate>
    <dc:creator>Brahmareddy</dc:creator>
    <dc:date>2024-12-19T03:07:45Z</dc:date>
    <item>
      <title>Databricks workflow deployment issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-deployment-issue/m-p/99459#M40005</link>
      <description>&lt;P&gt;The below one is the data bricks workflow. Note: ETL_schema check is if/else task in databricks workflow)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suryateja405555_2-1732082532269.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13015iDA4D2170208A5A7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suryateja405555_2-1732082532269.png" alt="suryateja405555_2-1732082532269.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Declaring below taskValues based on some conditions in ETL_data_check notebooks. Based on the below output the next task"ETL_schema_checks" (if/else) will be executed.&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;if failure:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;dbutils.jobs.taskValues.set(key="flag_mismatch",value="failure")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;else:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;dbutils.jobs.taskValues.set(key="flag_mismatch",value="success")&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;using above if/else condtition etl_data_checks.&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="3"&gt;i am trying to deploy the workflow using &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;databricks asset bundles&lt;/STRONG&gt;&lt;/FONT&gt;. Below is the job definition. while deploying the code i am getting error &lt;FONT color="#FF6600"&gt;&lt;U&gt;&lt;STRONG&gt;"A managed resource tasks" "ETL_data_checks" has not been declared in the root module."&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suryateja405555_3-1732083107096.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13016i8C165179A3015CBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suryateja405555_3-1732083107096.png" alt="suryateja405555_3-1732083107096.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Could you please explain, what is the exact issue here, how to fix it?&lt;/DIV&gt;&lt;DIV&gt;Thanks in Advance!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Nov 2024 06:24:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workflow-deployment-issue/m-p/99459#M40005</guid>
      <dc:creator>suryateja405555</dc:creator>
      <dc:date>2024-11-20T06:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow deployment issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-deployment-issue/m-p/102604#M41176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/118910"&gt;@suryateja405555&lt;/a&gt;, How are you doing today?&lt;/P&gt;&lt;P&gt;As per my understanding,&amp;nbsp;Make sure ETL_data_checks is properly declared in the tasks section of your workflow configuration in the root module. For example, add it with a task_key and its respective properties like notebook_path and cluster_key. Verify that ETL_schema_checks references the correct task_key for ETL_data_checks, ensuring the dependency aligns with the workflow logic. Double-check naming consistency between the task definition and its references to avoid any mismatches. After fixing, validate the asset bundle using the Databricks CLI to ensure there are no errors in the configuration. Lastly, confirm that all tasks have their cluster resources appropriately associated.&lt;/P&gt;&lt;P&gt;Please give a try and let me know if helps. Good day.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 03:07:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workflow-deployment-issue/m-p/102604#M41176</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2024-12-19T03:07:45Z</dc:date>
    </item>
  </channel>
</rss>

