<?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: Run now with different parameters doesn't pass parameter to pipeline tasks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/run-now-with-different-parameters-doesn-t-pass-parameter-to/m-p/89958#M37917</link>
    <description>&lt;P&gt;As per docs it seems that pipeline task type is currently not supported to pass parameters:&amp;nbsp;&lt;A href="https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task" target="_blank"&gt;https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could create a notebook task that runs before your pipeline task. This notebook task would take the job parameters and write them to a location accessible by your pipeline task, such as DBFS (Databricks File System) or a database. Then, your pipeline task could read these parameters from that location.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 17:21:36 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-09-13T17:21:36Z</dc:date>
    <item>
      <title>Run now with different parameters doesn't pass parameter to pipeline tasks</title>
      <link>https://community.databricks.com/t5/data-engineering/run-now-with-different-parameters-doesn-t-pass-parameter-to/m-p/89202#M37727</link>
      <description>&lt;P&gt;I have a job with some tasks. Some of the tasks are pipeline_task's some are notebook_task's.&lt;/P&gt;&lt;P&gt;When I run the job with "Run now with different parameters" and enter a new key-value, I see that the key-value is available in the notebook_task's with dbutils.widgets.get, but is NOT available in my pipelines with neither spark.conf.get nor dbutils.widgets.get.&lt;/P&gt;&lt;P&gt;For example, if I "run now with different parameters" and pass in the key "fav_color" with the value "blue", then dbutils.widgets.get("fav_color") and spark.conf.get("fav_color") do NOT exist in my pipeline_task. In my notebook_task, I AM able to get the value from dbutils.widgets.get("fav_color").&lt;/P&gt;&lt;P&gt;My question is: How do I get these new parameters in my pipeline_task that were added via "run now with different parameters"?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:43:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-now-with-different-parameters-doesn-t-pass-parameter-to/m-p/89202#M37727</guid>
      <dc:creator>Jaku6</dc:creator>
      <dc:date>2024-09-09T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Run now with different parameters doesn't pass parameter to pipeline tasks</title>
      <link>https://community.databricks.com/t5/data-engineering/run-now-with-different-parameters-doesn-t-pass-parameter-to/m-p/89958#M37917</link>
      <description>&lt;P&gt;As per docs it seems that pipeline task type is currently not supported to pass parameters:&amp;nbsp;&lt;A href="https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task" target="_blank"&gt;https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could create a notebook task that runs before your pipeline task. This notebook task would take the job parameters and write them to a location accessible by your pipeline task, such as DBFS (Databricks File System) or a database. Then, your pipeline task could read these parameters from that location.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 17:21:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-now-with-different-parameters-doesn-t-pass-parameter-to/m-p/89958#M37917</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-09-13T17:21:36Z</dc:date>
    </item>
  </channel>
</rss>

