<?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: Update databricks job parameter with CLI in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/update-databricks-job-parameter-with-cli/m-p/124248#M47148</link>
    <description>&lt;P&gt;hello Divya,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you also try YAML and update your task accordingly and deploy it as a part of asset bundles? let me know if you feel both are same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 05:09:49 GMT</pubDate>
    <dc:creator>anilsampson</dc:creator>
    <dc:date>2025-07-07T05:09:49Z</dc:date>
    <item>
      <title>Update databricks job parameter with CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/update-databricks-job-parameter-with-cli/m-p/124088#M47131</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Use Case:&lt;/STRONG&gt;&lt;BR /&gt;Updating a Databricks job with multiple tasks can be time-consuming and error-prone when changes (such as adding new parameters) need to be applied to each task manually.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Possible Solutions:&lt;/STRONG&gt;&lt;/P&gt;&lt;H4&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;FONT face="times new roman,times"&gt;1. &lt;/FONT&gt;&lt;FONT face="times new roman,times"&gt;Using Databricks CLI&lt;/FONT&gt;&lt;FONT face="times new roman,times"&gt; – &lt;A href="https://docs.databricks.com/aws/en/archive/dev-tools/cli/jobs-cli#change-settings-for-a-job" target="_self"&gt;jobs&amp;nbsp;reset&lt;/A&gt;&amp;nbsp;command&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;&lt;P&gt;You can simplify the update process by resetting the job using a modified JSON definition:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="times new roman,times"&gt;databricks jobs reset --json @path/to/reset.json &lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In the Databricks Job UI, open the job.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Click the kebab menu (three dots) next to &lt;STRONG&gt;Run now&lt;/STRONG&gt; and select &lt;STRONG&gt;View as Code&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Choose the &lt;STRONG&gt;JSON&lt;/STRONG&gt; tab and select the &lt;STRONG&gt;Reset&lt;/STRONG&gt; option.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Download the JSON definition.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Modify the JSON as needed (e.g., add new parameters to each task).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Run the CLI command above to apply the changes.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This method allows you to overwrite the entire job configuration efficiently using a single command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Divya_Bhadauria_1-1751740411129.png" style="width: 202px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17997i3BAA69F7566FDAD7/image-dimensions/202x201?v=v2" width="202" height="201" role="button" title="Divya_Bhadauria_1-1751740411129.png" alt="Divya_Bhadauria_1-1751740411129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Divya_Bhadauria_0-1751740346442.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17996i352CDB290A498562/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Divya_Bhadauria_0-1751740346442.png" alt="Divya_Bhadauria_0-1751740346442.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H4&gt;&lt;FONT size="3"&gt;2. &lt;STRONG&gt;Using Job-Level Parameters (If Same Across All Tasks)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;&lt;P&gt;If the new parameter is common to all tasks, consider adding it at the job level:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Go to the &lt;STRONG&gt;Job details&lt;/STRONG&gt; pane and click &lt;STRONG&gt;Edit parameters&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;Job parameters&lt;/STRONG&gt; dialog, add or update parameters using the &lt;STRONG&gt;Key&lt;/STRONG&gt; and &lt;STRONG&gt;Value&lt;/STRONG&gt; fields.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This eliminates the need to update each task individually.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 18:37:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-databricks-job-parameter-with-cli/m-p/124088#M47131</guid>
      <dc:creator>Divya_Bhadauria</dc:creator>
      <dc:date>2025-07-05T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update databricks job parameter with CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/update-databricks-job-parameter-with-cli/m-p/124248#M47148</link>
      <description>&lt;P&gt;hello Divya,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you also try YAML and update your task accordingly and deploy it as a part of asset bundles? let me know if you feel both are same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 05:09:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-databricks-job-parameter-with-cli/m-p/124248#M47148</guid>
      <dc:creator>anilsampson</dc:creator>
      <dc:date>2025-07-07T05:09:49Z</dc:date>
    </item>
  </channel>
</rss>

