<?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: Delta Live Tables - use cluster-scoped init scripts in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-use-cluster-scoped-init-scripts/m-p/106645#M42538</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do it via a cluster policy. It can be achieved in two steps:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a cluster policy with required attributes.You can provide the init_scripts attribute in the policy. For reference: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/clusters/policy-definition#attributes" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/clusters/policy-definition#attributes&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Once the policy is created then choose this policy under cluster settings of DLT pipeline. For reference&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/configure-compute#cluster-policy" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/configure-compute#cluster-policy&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 22 Jan 2025 12:44:47 GMT</pubDate>
    <dc:creator>AngadSingh</dc:creator>
    <dc:date>2025-01-22T12:44:47Z</dc:date>
    <item>
      <title>Delta Live Tables - use cluster-scoped init scripts</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-use-cluster-scoped-init-scripts/m-p/106635#M42535</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;According the documentation of delta live tables (&lt;A href="https://docs.databricks.com/en/delta-live-tables/external-dependencies.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/delta-live-tables/external-dependencies.html&lt;/A&gt;), one can user either global or cluster scoped init scripts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't see an option to select init scripts in the DLT UI? Do I need to set this as a (key,value ) Configuration under the advanced tab?&amp;nbsp; We need this script to set our pip configuration correctly (otherwise we can not install any python package due to networking issues)&lt;/P&gt;&lt;P&gt;Is there an example (YAML/JSON) of a DLT that uses either a global or cluster-scoped init script?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 11:07:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-use-cluster-scoped-init-scripts/m-p/106635#M42535</guid>
      <dc:creator>MichielPovre</dc:creator>
      <dc:date>2025-01-22T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Tables - use cluster-scoped init scripts</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-use-cluster-scoped-init-scripts/m-p/106645#M42538</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do it via a cluster policy. It can be achieved in two steps:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a cluster policy with required attributes.You can provide the init_scripts attribute in the policy. For reference: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/clusters/policy-definition#attributes" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/clusters/policy-definition#attributes&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Once the policy is created then choose this policy under cluster settings of DLT pipeline. For reference&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/configure-compute#cluster-policy" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/configure-compute#cluster-policy&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Jan 2025 12:44:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-use-cluster-scoped-init-scripts/m-p/106645#M42538</guid>
      <dc:creator>AngadSingh</dc:creator>
      <dc:date>2025-01-22T12:44:47Z</dc:date>
    </item>
  </channel>
</rss>

