<?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: i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/57066#M30727</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98019"&gt;@vishwanath_1&lt;/a&gt;&amp;nbsp;, Can you try setting the below config if this resolves the issue?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set spark.databricks.sql.csv.edgeParserSplittable=true;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 13:02:11 GMT</pubDate>
    <dc:creator>Lakshay</dc:creator>
    <dc:date>2024-01-12T13:02:11Z</dc:date>
    <item>
      <title>i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/57018#M30715</link>
      <description>&lt;P&gt;reading 130gb file&amp;nbsp; without&amp;nbsp; multi line true it is 6 minutes&amp;nbsp;&lt;/P&gt;&lt;P&gt;my file has data in multi liner .&lt;/P&gt;&lt;P&gt;How to speed up the reading time here ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using below command&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;InputDF&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;spark.read.option(&lt;/SPAN&gt;&lt;SPAN&gt;"delimiter"&lt;/SPAN&gt;&lt;SPAN&gt;,"^")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.option(&lt;/SPAN&gt;&lt;SPAN&gt;"header"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.option(&lt;/SPAN&gt;&lt;SPAN&gt;"encoding"&lt;/SPAN&gt;&lt;SPAN&gt;,"UTF-8")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.option(&lt;/SPAN&gt;&lt;SPAN&gt;"multiLine"&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;option(&lt;/SPAN&gt;&lt;SPAN&gt;"quote"&lt;/SPAN&gt;&lt;SPAN&gt;,"\"")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.option(&lt;/SPAN&gt;&lt;SPAN&gt;"escape"&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;).csv(inputFileName)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jan 2024 03:06:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/57018#M30715</guid>
      <dc:creator>vishwanath_1</dc:creator>
      <dc:date>2024-01-12T03:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/57066#M30727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98019"&gt;@vishwanath_1&lt;/a&gt;&amp;nbsp;, Can you try setting the below config if this resolves the issue?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set spark.databricks.sql.csv.edgeParserSplittable=true;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 13:02:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/57066#M30727</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-01-12T13:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/58043#M31001</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;By using set spark.databricks.sql.csv.edgeParserSplittable=true;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is now taking 30 mins lesser time than usual 4 hours.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any other setting which can be used to make it faster?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Jan 2024 06:18:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/58043#M31001</guid>
      <dc:creator>vishwanath_1</dc:creator>
      <dc:date>2024-01-22T06:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/58177#M31036</link>
      <description>&lt;P&gt;You can also try using Photon. That can also help speed up the read operation.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 16:00:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/58177#M31036</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-01-22T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: i am reading a 130gb csv file with  multi line true it is taking 4 hours just to read</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/91321#M38149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/75976"&gt;@Lakshay&lt;/a&gt;&amp;nbsp; , where did you find this config ? can you give link ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 07:43:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-reading-a-130gb-csv-file-with-multi-line-true-it-is-taking/m-p/91321#M38149</guid>
      <dc:creator>subash_07</dc:creator>
      <dc:date>2024-09-22T07:43:43Z</dc:date>
    </item>
  </channel>
</rss>

