<?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: how to pass using DABs the parameters to use in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-pass-using-dabs-the-parameters-to-use/m-p/100640#M40364</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&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;You can pass parameters using CLI in following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks bundle run -t ENV --params Param1=Value1,Param2=Value2 Job_Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in your yml file you should define parameters in similar way to following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1733151625593.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13276i5327792443B81C3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1733151625593.png" alt="szymon_dybczak_0-1733151625593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find more info in following documentation entry:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.gcp.databricks.com/en/dev-tools/cli/bundle-commands.html#run-a-job-or-pipeline" target="_blank"&gt;bundle command group | Databricks on Google Cloud&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 15:04:31 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-12-02T15:04:31Z</dc:date>
    <item>
      <title>how to pass using DABs the parameters to use</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-using-dabs-the-parameters-to-use/m-p/100607#M40348</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello Community,&amp;nbsp;&lt;/STRONG&gt;I want to pass parameters to my Databricks job through the DABs CLI. Specifically, I'd like to be able to run a job with parameters directly using the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;databricks bundle run -t prod --params [&lt;SPAN class=""&gt;for&lt;/SPAN&gt; example: table_name=&lt;SPAN class=""&gt;"client"&lt;/SPAN&gt;]&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I believe this involves handling the databricks.yaml file, but I'm unsure how to configure it correctly to achieve this. Could anyone provide guidance on how to set this up?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 11:59:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-using-dabs-the-parameters-to-use/m-p/100607#M40348</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2024-12-02T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass using DABs the parameters to use</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-using-dabs-the-parameters-to-use/m-p/100640#M40364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;You can pass parameters using CLI in following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks bundle run -t ENV --params Param1=Value1,Param2=Value2 Job_Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in your yml file you should define parameters in similar way to following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1733151625593.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13276i5327792443B81C3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1733151625593.png" alt="szymon_dybczak_0-1733151625593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find more info in following documentation entry:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.gcp.databricks.com/en/dev-tools/cli/bundle-commands.html#run-a-job-or-pipeline" target="_blank"&gt;bundle command group | Databricks on Google Cloud&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 15:04:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-using-dabs-the-parameters-to-use/m-p/100640#M40364</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-12-02T15:04:31Z</dc:date>
    </item>
  </channel>
</rss>

