<?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: Azure Databricks Workflows with Git Integration in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92392#M38422</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As described above, I'm using Azure DevOps. I used a Full Access Token, so it has both read and write access.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 07:10:42 GMT</pubDate>
    <dc:creator>FedericoRaimond</dc:creator>
    <dc:date>2024-10-01T07:10:42Z</dc:date>
    <item>
      <title>Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89643#M37871</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I receive a very weird error when attempting to connect my workflows tasks to a remote git on azure devops.&lt;/P&gt;&lt;P&gt;As per documentation: "&lt;SPAN&gt;For a Git repository, the path relative to the repository root."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, I use directly the name of the notebook file wihtout any extension, being my notebook in the root folder. I receive the error in the first image when doing this operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I follow the error message and update the path with "/" then I receive another message. (error_2)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 13:56:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89643#M37871</guid>
      <dc:creator>FedericoRaimond</dc:creator>
      <dc:date>2024-09-12T13:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89726#M37893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120518"&gt;@FedericoRaimond&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Make sure that your notebook contains in&amp;nbsp;&lt;SPAN&gt;the first line of source code following header # Databricks notebook source. If you use Scala notebook, the firs line of the source file must be // Databricks notebook source.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/jobs/how-to/use-repos" target="_blank" rel="noopener"&gt;Use version-controlled source code in an Azure Databricks job - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I recreated this example and it worked.&lt;BR /&gt;&lt;BR /&gt;Here's my devops repository with test_git.py notebook at the root level of repository:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1726216675213.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11143iB08622071D6AF694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1726216675213.png" alt="szymon_dybczak_0-1726216675213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's workflow definition:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_1-1726216721971.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11144iB3E2F91C6747C659/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_1-1726216721971.png" alt="szymon_dybczak_1-1726216721971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And a successful run:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_2-1726216777217.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11145iAFC2BE32978D64DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_2-1726216777217.png" alt="szymon_dybczak_2-1726216777217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. You can also try to recreate notebook, some time ago I had similar issue and notebook recreation helped me resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&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>Fri, 13 Sep 2024 08:42:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89726#M37893</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-13T08:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89736#M37894</link>
      <description>&lt;P&gt;I had already had "&lt;SPAN&gt;# Databricks notebook source". I tried also creating a new notebook but still the error appears.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seems like it goes well until I save the job, then it doesn't allow me to save saying a wrong error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="still error_2.PNG" style="width: 783px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11147iB0AAF59322384F83/image-size/large?v=v2&amp;amp;px=999" role="button" title="still error_2.PNG" alt="still error_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="still error.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11146iAF808BC5EEC1F350/image-size/large?v=v2&amp;amp;px=999" role="button" title="still error.png" alt="still error.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 08:57:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89736#M37894</guid>
      <dc:creator>FedericoRaimond</dc:creator>
      <dc:date>2024-09-13T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89749#M37896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120518"&gt;@FedericoRaimond&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;One additional question, did you create test_run.py file in azure devops manually? For example, I created test_created_manually.py directly in repos and copy and paste notebook code, like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1726221492810.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11152iAC28D8DEC08D0BB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1726221492810.png" alt="szymon_dybczak_0-1726221492810.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I created another workflow:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_1-1726221549178.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11153i790630115E59DB97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_1-1726221549178.png" alt="szymon_dybczak_1-1726221549178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And when I tried to execute it I've got following error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_2-1726221595205.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11154iE5999632850F4DE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_2-1726221595205.png" alt="szymon_dybczak_2-1726221595205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, what I did was to recreate this notebook using UI:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_3-1726221913306.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11155i317A0841E4A3750C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_3-1726221913306.png" alt="szymon_dybczak_3-1726221913306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I setup another workflow to test it:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_4-1726221957315.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11156i95336AEB79D9F013/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_4-1726221957315.png" alt="szymon_dybczak_4-1726221957315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now it works:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_5-1726222002307.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11157i59385C0FF385C014/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_5-1726222002307.png" alt="szymon_dybczak_5-1726222002307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, try once again recreate your notebook using databricks UI and then copy and paste each cell and try again to recreate workflow from scratch.&lt;BR /&gt;It's weird, I suppose that there could be some hidden characters/encoding issue within your notebook that's causign this problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:08:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89749#M37896</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-13T10:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89778#M37901</link>
      <description>&lt;P&gt;I actually created it from UI in repos and committed and pushed to Azure DevOps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;I also believe the error you get in the manual attempt is even different from mine. On my side, after I set correctly the connection to the git branch, it doesn't even allow me to save the job edits. This isn't just an error I get with notebooks but I believe the issue is somwhere in the integration with Azure DevOps...&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:34:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89778#M37901</guid>
      <dc:creator>FedericoRaimond</dc:creator>
      <dc:date>2024-09-13T11:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89780#M37902</link>
      <description>&lt;P&gt;Haha, could be. Pretty buggy experience. To be honest, I'm running out of ideas. Last one idea, maybe your personal access token has insufficient permission?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:40:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89780#M37902</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-13T11:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89786#M37905</link>
      <description>&lt;P&gt;I have a Full Read access token, even created a new one to test again. Still same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:53:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/89786#M37905</guid>
      <dc:creator>FedericoRaimond</dc:creator>
      <dc:date>2024-09-13T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92131#M38364</link>
      <description>&lt;P&gt;Can you try a Github token with read and write access? The write access is required at the moment.&amp;nbsp;Our engineering team is working with Github to understand why the write access is needed and see whether we can remove this requirement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 18:48:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92131#M38364</guid>
      <dc:creator>nicole_lu_PM</dc:creator>
      <dc:date>2024-09-27T18:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92392#M38422</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As described above, I'm using Azure DevOps. I used a Full Access Token, so it has both read and write access.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:10:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92392#M38422</guid>
      <dc:creator>FedericoRaimond</dc:creator>
      <dc:date>2024-10-01T07:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Workflows with Git Integration</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92503#M38451</link>
      <description>&lt;P&gt;Hi Federico,&lt;/P&gt;
&lt;P&gt;The error in Error 1.png didn't look right. Since you already selected the git source for the job, you should be able to use a relative path. If you continue to run into this issue,&amp;nbsp;&lt;SPAN&gt;can you please &lt;/SPAN&gt;&lt;A href="https://sso.pub.databricks.com/?flow=help-portal-sso" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;submit a support ticket&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; if you have a Support subscription?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nicole&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 21:36:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-workflows-with-git-integration/m-p/92503#M38451</guid>
      <dc:creator>nicole_lu_PM</dc:creator>
      <dc:date>2024-10-01T21:36:17Z</dc:date>
    </item>
  </channel>
</rss>

