<?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 How to overwritten job parameter task inside a job task in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131426#M49081</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;How to overwritten the job parameter inside the job task? Because seems that the job parameter has a higher priority than a task parameter although it is overwritten&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 15:57:59 GMT</pubDate>
    <dc:creator>jeremy98</dc:creator>
    <dc:date>2025-09-09T15:57:59Z</dc:date>
    <item>
      <title>How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131426#M49081</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;How to overwritten the job parameter inside the job task? Because seems that the job parameter has a higher priority than a task parameter although it is overwritten&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 15:57:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131426#M49081</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-09-09T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131430#M49082</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133094"&gt;@jeremy98&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This might be of some use:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/jobs/run-now#with-different-params" target="_blank"&gt;https://docs.databricks.com/aws/en/jobs/run-now#with-different-params&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can start a job with different settings/job parameters, but continuous jobs will always keep the default of a single concurrent run.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:06:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131430#M49082</guid>
      <dc:creator>TheOC</dc:creator>
      <dc:date>2025-09-09T16:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131434#M49084</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133094"&gt;@jeremy98&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not certain I've understood your question, but here are my thoughts on job parameters:&lt;BR /&gt;&lt;BR /&gt;Job parameters are global, meaning they persist in each individual task, inside of the main job. Task parameters are not global and therefore persist only within each individual task. If you have a task parameter call the same name as the job parameter, the job parameter will take priority. The task parameter will not be able to overwrite the job parameter.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards - Pilsner&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:11:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131434#M49084</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-09-09T16:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131435#M49085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer but I mean, I have 4 tasks of ingestion that took a key parameter from the job parameter definition level. But now I want that 3 of these tasks consider to take the same key parameter but the last task a new overwritten..&lt;BR /&gt;&lt;BR /&gt;Something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  jobs:
    job1:
      name: job1

      run_as:
        service_principal_name: ${var.SP_DATABRICKS_ID_STG}

      parameters:
        - name: key_parameter
          default: stg

     task:
       task:
        name: task_1
        notebook_task:
          ...
          base_parameter:
           key_parameter: {{jobs.parameters.key_parameter}}

       task:
        name: task_2
        notebook_task:
          ...
          base_parameter:
           key_parameter: "another_value"

&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:11:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131435#M49085</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-09-09T16:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131436#M49086</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133094"&gt;@jeremy98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's exactly as you wrote.&amp;nbsp;&lt;SPAN&gt;Job parameters take precedence over task parameters. If a job parameter and a task parameter have the same key, the job parameter overrides the task parameter and you can't change that behavior.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But you can apply workaround. Define task parameter with a different key and then write some code in the notebook that will handle this. For instance your code can check if job parameter was provided and task parameter was also provided them take task parameter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/jobs/job-parameters#job-parameter-pushdown" target="_blank"&gt;https://docs.databricks.com/aws/en/jobs/job-parameters#job-parameter-pushdown&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:11:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131436#M49086</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-09T16:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131439#M49088</link>
      <description>&lt;P&gt;Hi syz:),&lt;/P&gt;&lt;P&gt;Yes ahah it's weird in my opinion, but yes your solution is fine!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:17:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131439#M49088</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-09-09T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131441#M49089</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133094"&gt;@jeremy98&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for providing this, I think I'm with you now.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you want to be able to pass a value from one task to another, (similarly to how job parameters can be passed to all tasks), you can define task values.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/jobs/task-values" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/jobs/task-values&lt;/A&gt;&lt;BR /&gt;Using these you should be able to dynamically calculate the value in one task, then call upon it, inside a subsequent task.&lt;BR /&gt;&lt;BR /&gt;Hopefully, this is more useful than my original answer&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards - Pilsner&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 16:22:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131441#M49089</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-09-09T16:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to overwritten job parameter task inside a job task</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131640#M49171</link>
      <description>&lt;P&gt;Hi Pilsner,&lt;/P&gt;&lt;P&gt;Thanks for your response, the issue is that I need to know it before. In this case, we need to set inside a notebook for example the task values. I want to be able to set it at task value. I think it is not provided from Databricks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 10:44:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-overwritten-job-parameter-task-inside-a-job-task/m-p/131640#M49171</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2025-09-11T10:44:35Z</dc:date>
    </item>
  </channel>
</rss>

