<?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 Automation for any script changes in databricks and bit bucket in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/automation-for-any-script-changes-in-databricks-and-bit-bucket/m-p/161065#M54982</link>
    <description>&lt;P&gt;If any code changes are done and moved to bit bucket based on env now i want to fetch all the code changes and move all these changes to a table in adls/unity catalog table.&lt;/P&gt;&lt;P&gt;Anyone please help with the approaches we are using bit bucket for repository&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2026 11:10:14 GMT</pubDate>
    <dc:creator>Dolly0503</dc:creator>
    <dc:date>2026-07-01T11:10:14Z</dc:date>
    <item>
      <title>Automation for any script changes in databricks and bit bucket</title>
      <link>https://community.databricks.com/t5/data-engineering/automation-for-any-script-changes-in-databricks-and-bit-bucket/m-p/161065#M54982</link>
      <description>&lt;P&gt;If any code changes are done and moved to bit bucket based on env now i want to fetch all the code changes and move all these changes to a table in adls/unity catalog table.&lt;/P&gt;&lt;P&gt;Anyone please help with the approaches we are using bit bucket for repository&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 11:10:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/automation-for-any-script-changes-in-databricks-and-bit-bucket/m-p/161065#M54982</guid>
      <dc:creator>Dolly0503</dc:creator>
      <dc:date>2026-07-01T11:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automation for any script changes in databricks and bit bucket</title>
      <link>https://community.databricks.com/t5/data-engineering/automation-for-any-script-changes-in-databricks-and-bit-bucket/m-p/161160#M54995</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; Hi, couple ways to do this depending on how tightly you want it wired in.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;If Bitbucket is just your source repo and you want a row per change, the simplest path is a Bitbucket Pipeline that runs on push. In that pipeline step, pull the commit metadata (`git log&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;-1`, changed files from `git diff --name-only HEAD^ HEAD`) and write it straight into a Unity Catalog table using the Databricks REST API's SQL execution endpoint or the&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;databricks-sql-connector, hitting a serverless SQL warehouse. That gives you full control over what counts as "a change" and works the same across all your envs since it's driven from the&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;pipeline, not from inside Databricks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;If instead you're syncing Bitbucket into Databricks through Git folders (Repos) and just want to know when someone pulled a change into the workspace, Databricks already logs that for&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;you. Git folder activity lands in the `system.access.audit` system table under `service_name = 'repos'`, so you could just query that instead of building your own capture step. I couldn't&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;confirm whether system tables are switched on by default on every workspace tier though, so check that `system.access.audit` is actually queryable in your workspace before you design&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;around it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Either way, land the output in a Delta table in Unity Catalog rather than writing raw files straight to ADLS, UC is sitting on top of that storage anyway and you get proper schema,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;permissions, and query access for free.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 07:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/automation-for-any-script-changes-in-databricks-and-bit-bucket/m-p/161160#M54995</guid>
      <dc:creator>iyashk-DB</dc:creator>
      <dc:date>2026-07-02T07:33:26Z</dc:date>
    </item>
  </channel>
</rss>

