<?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 Exporting delta table to one CSV in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54475#M30088</link>
    <description>&lt;P&gt;Process to export a delta table is taking ~2hrs.&lt;/P&gt;&lt;P&gt;Delta table has 66 partitions with total size of ~6gb, 4million rows and 270 columns.&lt;/P&gt;&lt;P&gt;Used below command&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df.coalesce(1).write.csv("path")&lt;/LI-CODE&gt;&lt;P&gt;what are my options to reduce the time?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 22:39:57 GMT</pubDate>
    <dc:creator>561064</dc:creator>
    <dc:date>2023-12-01T22:39:57Z</dc:date>
    <item>
      <title>Exporting delta table to one CSV</title>
      <link>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54475#M30088</link>
      <description>&lt;P&gt;Process to export a delta table is taking ~2hrs.&lt;/P&gt;&lt;P&gt;Delta table has 66 partitions with total size of ~6gb, 4million rows and 270 columns.&lt;/P&gt;&lt;P&gt;Used below command&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df.coalesce(1).write.csv("path")&lt;/LI-CODE&gt;&lt;P&gt;what are my options to reduce the time?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 22:39:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54475#M30088</guid>
      <dc:creator>561064</dc:creator>
      <dc:date>2023-12-01T22:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting delta table to one CSV</title>
      <link>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54505#M30091</link>
      <description>&lt;P&gt;A very interesting task in front of you.... let me know how you solve it!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 22:02:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54505#M30091</guid>
      <dc:creator>Dribka</dc:creator>
      <dc:date>2023-12-02T22:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting delta table to one CSV</title>
      <link>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54612#M30131</link>
      <description>&lt;P&gt;Hi Kainz,&lt;/P&gt;&lt;P&gt;None of the options I tried helped as the challenge is not reading but writing it to a &lt;STRONG&gt;one&lt;/STRONG&gt; CSV file.&amp;nbsp;&lt;SPAN&gt;df.repartition(numFiles).write.csv("path") has consumed the same amount of time as 'df.coalesce(1).write.csv("path")'&amp;nbsp;&lt;/SPAN&gt;in my case.&lt;/P&gt;&lt;P&gt;any other options I can explore?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 19:07:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/exporting-delta-table-to-one-csv/m-p/54612#M30131</guid>
      <dc:creator>561064</dc:creator>
      <dc:date>2023-12-04T19:07:34Z</dc:date>
    </item>
  </channel>
</rss>

