<?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: writing spark dataframe as CSV to a repo in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60017#M31566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the help. But my problem is that I do not see any files in the target folder. I am looking for options.&lt;/P&gt;&lt;P&gt;-Regards&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 10:44:35 GMT</pubDate>
    <dc:creator>chari</dc:creator>
    <dc:date>2024-02-13T10:44:35Z</dc:date>
    <item>
      <title>writing spark dataframe as CSV to a repo</title>
      <link>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60003#M31561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wrote a spark dataframe as csv to a repo (synced with github). But when I checked the folder, the file wasn't there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark_df.write.format(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;csv&lt;/SPAN&gt;&lt;SPAN&gt;'&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;,&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;).mode(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;overwrite&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;).save(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;/Repos/abcd/mno/data&lt;/SPAN&gt;&lt;SPAN&gt;'&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;No error message ! Nevertheless no file inside the folder 'data'. In addition 'abcd' is my repo name, inside it is a folder 'mno' which contains 'data'.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Thx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Feb 2024 07:25:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60003#M31561</guid>
      <dc:creator>chari</dc:creator>
      <dc:date>2024-02-13T07:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: writing spark dataframe as CSV to a repo</title>
      <link>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60017#M31566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the help. But my problem is that I do not see any files in the target folder. I am looking for options.&lt;/P&gt;&lt;P&gt;-Regards&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:44:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60017#M31566</guid>
      <dc:creator>chari</dc:creator>
      <dc:date>2024-02-13T10:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: writing spark dataframe as CSV to a repo</title>
      <link>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60038#M31571</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;the folder 'Repos' is not your&amp;nbsp;repo, it's `dbfs:/Repos`, please check&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dbutils.fs.ls('/Repos/abcd/mno/data')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 11:52:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/writing-spark-dataframe-as-csv-to-a-repo/m-p/60038#M31571</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-13T11:52:18Z</dc:date>
    </item>
  </channel>
</rss>

