<?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 to read the CSV file from users workspace in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54200#M30013</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have been carrying out a POC, so I created the CSV file in my workspace and tried to read the content using the techniques below in a Python notebook, but did not work.&lt;/P&gt;&lt;P&gt;Option1:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;repo_file &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"/Workspace/Users/u1@org.com/csv files/f1.csv"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tmp_file_name &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; file_name.&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;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;SPAN&gt;"/FileStore/tmp/&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;tmp_file_name&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;rm&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/FileStore/tmp/"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;mkdirs&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/FileStore/tmp/"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;cp&lt;/SPAN&gt;&lt;SPAN&gt;(repo_file, f"/dbfs{file_location}")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Both the options throw the same exception&amp;nbsp;java.io.FileNotFoundException. I realized problem is with the source file path. Above code works fine, if I try to read the file from repos instead of my workspace.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;As an alternative, I uploaded the CSV file into a blob storage account and able to read it without any issues.&lt;/P&gt;&lt;P&gt;I am curious to find as I believe there must be a way to read the CSV file from my work space aswell.&lt;/P&gt;&lt;P&gt;I would be glad if you can post here how to do so?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 11:08:38 GMT</pubDate>
    <dc:creator>dev_puli</dc:creator>
    <dc:date>2023-11-29T11:08:38Z</dc:date>
    <item>
      <title>how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54200#M30013</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have been carrying out a POC, so I created the CSV file in my workspace and tried to read the content using the techniques below in a Python notebook, but did not work.&lt;/P&gt;&lt;P&gt;Option1:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;repo_file &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"/Workspace/Users/u1@org.com/csv files/f1.csv"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tmp_file_name &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; file_name.&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;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file_name&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;rm&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/FileStore/tmp/"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;mkdirs&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/FileStore/tmp/"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;cp&lt;/SPAN&gt;&lt;SPAN&gt;(repo_file, f"/dbfs{file_location}")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Both the options throw the same exception&amp;nbsp;java.io.FileNotFoundException. I realized problem is with the source file path. Above code works fine, if I try to read the file from repos instead of my workspace.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;As an alternative, I uploaded the CSV file into a blob storage account and able to read it without any issues.&lt;/P&gt;&lt;P&gt;I am curious to find as I believe there must be a way to read the CSV file from my work space aswell.&lt;/P&gt;&lt;P&gt;I would be glad if you can post here how to do so?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 11:08:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54200#M30013</guid>
      <dc:creator>dev_puli</dc:creator>
      <dc:date>2023-11-29T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54208#M30014</link>
      <description>&lt;P&gt;I tried the below repo_file values in both options. However, I continue to see the same exception&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;repo_file &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; os.path.&lt;/SPAN&gt;&lt;SPAN&gt;abspath&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"./csv files/f1.csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;repo_file &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; os.path.&lt;/SPAN&gt;&lt;SPAN&gt;abspath&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/Workspace/Users/u1@org.com/csv files/f1.csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Nov 2023 11:55:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54208#M30014</guid>
      <dc:creator>dev_puli</dc:creator>
      <dc:date>2023-11-29T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54227#M30021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/27685"&gt;@Dev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can read like below with the latest cluster 12.2 and above&amp;nbsp; (prefix file:/)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;option&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"header"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;csv&lt;/SPAN&gt;&lt;SPAN&gt;("file:/Workspace/Users/u1@org.com/csv files/f1.csv")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df.&lt;/SPAN&gt;&lt;SPAN&gt;display&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Nov 2023 16:14:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54227#M30021</guid>
      <dc:creator>Krishnamatta</dc:creator>
      <dc:date>2023-11-29T16:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54231#M30022</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;I copied the file path and used the same, but it didn't help. It has been working fine if I copy the file path from repos but not from the user's workspace area.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dev_puli_0-1701276808912.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5387i8245B37018041BBD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="dev_puli_0-1701276808912.png" alt="dev_puli_0-1701276808912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 16:53:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/54231#M30022</guid>
      <dc:creator>dev_puli</dc:creator>
      <dc:date>2023-11-29T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/81860#M36434</link>
      <description>&lt;P&gt;This worked for me thanks, adding&amp;nbsp;&lt;SPAN&gt;file:/ before Workspace&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 10:37:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/81860#M36434</guid>
      <dc:creator>wfowler</dc:creator>
      <dc:date>2024-08-05T10:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/100498#M40319</link>
      <description>&lt;P&gt;for unity catalog enabled clusters, with the default security permmissions, I think we cannot access like this anymore.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 14:01:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/100498#M40319</guid>
      <dc:creator>xiangzhu</dc:creator>
      <dc:date>2024-11-30T14:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/100570#M40335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/27685"&gt;@Dev&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Generally, What happens spark reader APIs point to the DBFS by default. And, to read the file from User workspace, we need to append '&lt;STRONG&gt;file:/&lt;/STRONG&gt;' in the prefix.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 09:34:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/100570#M40335</guid>
      <dc:creator>MujtabaNoori</dc:creator>
      <dc:date>2024-12-02T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to read the CSV file from users workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/120099#M46061</link>
      <description>&lt;P&gt;Had the same issue today, adding the "file:/" prefix worked for me too, as &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/91647"&gt;@Krishnamatta&lt;/a&gt; said:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;file:/Workspace/Users/u1@org.com/csv files/f1.csv&lt;/LI-CODE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 16:53:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-the-csv-file-from-users-workspace/m-p/120099#M46061</guid>
      <dc:creator>PabloCSD</dc:creator>
      <dc:date>2025-05-23T16:53:52Z</dc:date>
    </item>
  </channel>
</rss>

