<?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 asset bundles passing parameters using bundle run which are not declared in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/88453#M37540</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/31353"&gt;@ashish577&lt;/a&gt;&amp;nbsp;Just an extension to this, can I deploy a job (not run) with different parameter values ?&lt;/P&gt;&lt;P&gt;something like databricks bundle deploy --params k=v&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 13:12:09 GMT</pubDate>
    <dc:creator>ramy</dc:creator>
    <dc:date>2024-09-04T13:12:09Z</dc:date>
    <item>
      <title>Databricks asset bundles passing parameters using bundle run which are not declared</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/61412#M31788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We recently decided to move to databricks asset bundles, one scenario that we are dealing with is we have different parameters passed to the same job which are handled in the notebook. With bundles when I try to pass parameters at runtime(which are not declared anywhere) it throws error saying "variable not defined". I am using cli to call bundle run and trying to pass parameters using --var="&amp;lt;varname=value&amp;gt;". Is there anyway to pass ad-hoc parameters to bundle run like we could with api's?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 05:59:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/61412#M31788</guid>
      <dc:creator>ashish577</dc:creator>
      <dc:date>2024-02-22T05:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles passing parameters using bundle run which are not declared</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/63705#M32323</link>
      <description>&lt;P&gt;Found out we can do it using --params=&amp;lt;comma sep key=value pairs&amp;gt;&lt;/P&gt;&lt;P&gt;However, job needs to have at least 1 param defined to accept parameters&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:27:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/63705#M32323</guid>
      <dc:creator>ashish577</dc:creator>
      <dc:date>2024-03-14T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles passing parameters using bundle run which are not declared</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/63711#M32327</link>
      <description>&lt;P&gt;Following syntax can be used.&lt;/P&gt;&lt;P&gt;databricks bundle run -t ENV --params Param1=Value1,Param2=Value2 Job_Name&lt;/P&gt;&lt;P&gt;Job Definition Parameter may look like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HrushiM_0-1710430681259.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6655i91E106594163E0BA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="HrushiM_0-1710430681259.png" alt="HrushiM_0-1710430681259.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 15:38:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/63711#M32327</guid>
      <dc:creator>HrushiM</dc:creator>
      <dc:date>2024-03-14T15:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles passing parameters using bundle run which are not declared</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/88453#M37540</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/31353"&gt;@ashish577&lt;/a&gt;&amp;nbsp;Just an extension to this, can I deploy a job (not run) with different parameter values ?&lt;/P&gt;&lt;P&gt;something like databricks bundle deploy --params k=v&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 13:12:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/88453#M37540</guid>
      <dc:creator>ramy</dc:creator>
      <dc:date>2024-09-04T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles passing parameters using bundle run which are not declared</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/95374#M39087</link>
      <description>&lt;P&gt;When I implemented the above with three params, I received an error:&lt;/P&gt;&lt;P&gt;`Error: no such resource: Param2=Value2,`&lt;/P&gt;&lt;P&gt;I found that adding quotes to the syntax did work:&amp;nbsp;&lt;/P&gt;&lt;P&gt;databricks bundle run --params "param1=value1, param2=value2, param3=value3" job&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 20:50:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-passing-parameters-using-bundle-run/m-p/95374#M39087</guid>
      <dc:creator>TheMinsterKid</dc:creator>
      <dc:date>2024-10-21T20:50:35Z</dc:date>
    </item>
  </channel>
</rss>

