<?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 Wrong Path Databricks Repos in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/wrong-path-databricks-repos/m-p/71280#M34279</link>
    <description>&lt;P&gt;In a Databricks environment, I have cloned a repository that I have in Azure DevOps Repos, the repository is inside the path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Workspace/Repos/&amp;lt;user_mail&amp;gt;/my_repo.&lt;/LI-CODE&gt;&lt;P&gt;Then when I create a Python script that I want to call in a notebook using an import: import myscript it tells me that it does not exist and this is because the path that launches the notebook is the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks/driver/&lt;/LI-CODE&gt;&lt;P&gt;However, in another Databricks environment, I did the same exercise and it worked. Even the path I get is this: Workspace/Repos/&amp;lt;user_mail&amp;gt;/my_repo when executing !pwd.&lt;/P&gt;&lt;P&gt;Where can I adjust so that it is not the path databricks driver?&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 19:47:37 GMT</pubDate>
    <dc:creator>Ramseths</dc:creator>
    <dc:date>2024-05-31T19:47:37Z</dc:date>
    <item>
      <title>Wrong Path Databricks Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/wrong-path-databricks-repos/m-p/71280#M34279</link>
      <description>&lt;P&gt;In a Databricks environment, I have cloned a repository that I have in Azure DevOps Repos, the repository is inside the path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Workspace/Repos/&amp;lt;user_mail&amp;gt;/my_repo.&lt;/LI-CODE&gt;&lt;P&gt;Then when I create a Python script that I want to call in a notebook using an import: import myscript it tells me that it does not exist and this is because the path that launches the notebook is the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks/driver/&lt;/LI-CODE&gt;&lt;P&gt;However, in another Databricks environment, I did the same exercise and it worked. Even the path I get is this: Workspace/Repos/&amp;lt;user_mail&amp;gt;/my_repo when executing !pwd.&lt;/P&gt;&lt;P&gt;Where can I adjust so that it is not the path databricks driver?&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 19:47:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/wrong-path-databricks-repos/m-p/71280#M34279</guid>
      <dc:creator>Ramseths</dc:creator>
      <dc:date>2024-05-31T19:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Path Databricks Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/wrong-path-databricks-repos/m-p/71295#M34282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106027"&gt;@Ramseths&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;If your notebook and script are in the same path, it would have picked the same relative path.&lt;/DIV&gt;
&lt;DIV&gt;Is your notebook located in /databricks/driver?&lt;/DIV&gt;
&lt;DIV&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Sat, 01 Jun 2024 04:44:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/wrong-path-databricks-repos/m-p/71295#M34282</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-06-01T04:44:45Z</dc:date>
    </item>
  </channel>
</rss>

