<?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: Unable to read available file after downloading in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65913#M7014</link>
    <description>&lt;P&gt;Thank you. It worked!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 15:45:52 GMT</pubDate>
    <dc:creator>sharma_kamal</dc:creator>
    <dc:date>2024-04-09T15:45:52Z</dc:date>
    <item>
      <title>Unable to read available file after downloading</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65715#M7011</link>
      <description>&lt;P&gt;After downloading a file using `&lt;STRONG&gt;wget&lt;/STRONG&gt;`, I'm attempting to read it by&amp;nbsp;&lt;SPAN&gt;spark.read.json.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am getting error:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;PATH_NOT_FOUND - Path does not exist: dbfs:/tmp/data.json. SQLSTATE: 42K03&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;File &lt;SPAN class=""&gt;&amp;lt;command-3327713714752929&amp;gt;, line 2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have checked the file do exist. I attempted to copy the file to DBFS, but encountered difficulties.&lt;BR /&gt;Attaching relevant screenshots here.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Could someone please help me identify any errors or issues in my approach?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 07 Apr 2024 05:54:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65715#M7011</guid>
      <dc:creator>sharma_kamal</dc:creator>
      <dc:date>2024-04-07T05:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read available file after downloading</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65730#M7012</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perform a test with the code below&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;Code layout:&lt;BR /&gt;dbutils.fs.cp&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"file:///&amp;lt;file source directory&amp;gt;/&amp;lt;your file extension&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"dbfs:/&amp;lt;file destination directory&amp;gt;/"&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;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Code example:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.cp&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"file:///tmp/file.csv"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;"dbfs:/tmp/"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 07 Apr 2024 16:49:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65730#M7012</guid>
      <dc:creator>ThomazRossito</dc:creator>
      <dc:date>2024-04-07T16:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read available file after downloading</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65752#M7013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99971"&gt;@sharma_kamal&lt;/a&gt;&amp;nbsp;, Good Day!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try the below code suggested by&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103324"&gt;@ThomazRossito&lt;/a&gt;&amp;nbsp;, it will help you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also please refer to the below document to work with the files on Databricks:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/files/index.html" target="_blank"&gt;https://docs.databricks.com/en/files/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if this helps and leave a like if you find this information useful. Follow-ups are appreciated.&lt;BR /&gt;Kudos&lt;BR /&gt;Ayushi&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 06:02:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65752#M7013</guid>
      <dc:creator>Ayushi_Suthar</dc:creator>
      <dc:date>2024-04-08T06:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read available file after downloading</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65913#M7014</link>
      <description>&lt;P&gt;Thank you. It worked!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:45:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-available-file-after-downloading/m-p/65913#M7014</guid>
      <dc:creator>sharma_kamal</dc:creator>
      <dc:date>2024-04-09T15:45:52Z</dc:date>
    </item>
  </channel>
</rss>

