<?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 do I access to DLT advanced configuration from python notebook? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/44632#M27690</link>
    <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;BR /&gt;Im trying to get DLT Advanced Configuration value from the python dlt notebook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I set "something": "some path" in Advanced configuration in DLT and I want to get the value from my dlt notebook. I tried "dbutils.widgets.get("something") in my notebook and triggered the pipeline but I got an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 19:19:44 GMT</pubDate>
    <dc:creator>Chinu</dc:creator>
    <dc:date>2023-09-13T19:19:44Z</dc:date>
    <item>
      <title>How do I access to DLT advanced configuration from python notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/44632#M27690</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;BR /&gt;Im trying to get DLT Advanced Configuration value from the python dlt notebook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I set "something": "some path" in Advanced configuration in DLT and I want to get the value from my dlt notebook. I tried "dbutils.widgets.get("something") in my notebook and triggered the pipeline but I got an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 19:19:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/44632#M27690</guid>
      <dc:creator>Chinu</dc:creator>
      <dc:date>2023-09-13T19:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I access to DLT advanced configuration from python notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/66639#M33177</link>
      <description>&lt;P&gt;The following docs will help. Please check the examples&amp;nbsp;&lt;A href="https://docs.databricks.com/en/delta-live-tables/settings.html#parameterize-pipelines" target="_blank"&gt;https://docs.databricks.com/en/delta-live-tables/settings.html#parameterize-pipelines&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 22:02:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/66639#M33177</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2024-04-18T22:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I access to DLT advanced configuration from python notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/74876#M34804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/29880"&gt;@jose_gonzalez&lt;/a&gt;&amp;nbsp;, I am getting the same error as the author of the post. in this example what "mypipeline" is referring to?&lt;/P&gt;&lt;P&gt;because I am getting the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;org.apache.spark.SparkNoSuchElementException: [SQL_CONF_NOT_FOUND] The SQL config "mypipeline.host" cannot be found. Please verify that the config exists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EDIT: I have figured out. To use advanced configuration value we just need to use it as following:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;destination &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"host"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jun 2024 08:24:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/74876#M34804</guid>
      <dc:creator>Nastia</dc:creator>
      <dc:date>2024-06-19T08:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I access to DLT advanced configuration from python notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/75010#M34846</link>
      <description>&lt;P&gt;here you can find the documentation on how to use parameters in dlt (sql and python):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/delta-live-tables/settings.html#parameterize-dataset-declarations-in-python-or-sql" target="_self"&gt;https://docs.databricks.com/en/delta-live-tables/settings.html#parameterize-dataset-declarations-in-python-or-sql&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 14:32:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-access-to-dlt-advanced-configuration-from-python/m-p/75010#M34846</guid>
      <dc:creator>Mo</dc:creator>
      <dc:date>2024-06-19T14:32:06Z</dc:date>
    </item>
  </channel>
</rss>

