<?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 Can't read large multiline json, in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15014#M9408</link>
    <description>&lt;P&gt;Hey! So I'm struggling to read a multiline json. Some details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It's gzipped from the API I get it from&lt;/LI&gt;&lt;LI&gt;just a single file in the folder currrently&lt;/LI&gt;&lt;LI&gt;stored in ADLS Gen2 storage.  &lt;/LI&gt;&lt;LI&gt;95 MB zipped, approximately 1.2 GB unzipped&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can read it just fine using the text read: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Can be read as text, multiline json"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/957iC582643821C84762/image-size/large?v=v2&amp;amp;px=999" role="button" title="Can be read as text, multiline json" alt="Can be read as text, multiline json" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, if I try to read it normally as json without multiline option, I get corrupted string after some time reading(perhaps as expected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Corrupted string"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/958i5E2C042887C56528/image-size/large?v=v2&amp;amp;px=999" role="button" title="Corrupted string" alt="Corrupted string" /&gt;&lt;/span&gt;But, if I instead use multiline option then I immediately get an error: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="relative path in absolute uri"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/952iF7C2D8A1A7C2170C/image-size/large?v=v2&amp;amp;px=999" role="button" title="relative path in absolute uri" alt="relative path in absolute uri" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone give me some pointers towards what is wrong? If I uncomment the last line I get the same error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: enheter_full_2022-12-22T13:07:10.4988008Z_b744d2f4-5eb5-41a0-a546-e0514c7db325.json.gz&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Does anyone know how to fix this? All the googling I've done suggests this is a problem with my path starting with "/", but my path starts with abfss:...&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 13:31:37 GMT</pubDate>
    <dc:creator>espenol</dc:creator>
    <dc:date>2022-12-22T13:31:37Z</dc:date>
    <item>
      <title>Can't read large multiline json,</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15014#M9408</link>
      <description>&lt;P&gt;Hey! So I'm struggling to read a multiline json. Some details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It's gzipped from the API I get it from&lt;/LI&gt;&lt;LI&gt;just a single file in the folder currrently&lt;/LI&gt;&lt;LI&gt;stored in ADLS Gen2 storage.  &lt;/LI&gt;&lt;LI&gt;95 MB zipped, approximately 1.2 GB unzipped&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can read it just fine using the text read: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Can be read as text, multiline json"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/957iC582643821C84762/image-size/large?v=v2&amp;amp;px=999" role="button" title="Can be read as text, multiline json" alt="Can be read as text, multiline json" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, if I try to read it normally as json without multiline option, I get corrupted string after some time reading(perhaps as expected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Corrupted string"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/958i5E2C042887C56528/image-size/large?v=v2&amp;amp;px=999" role="button" title="Corrupted string" alt="Corrupted string" /&gt;&lt;/span&gt;But, if I instead use multiline option then I immediately get an error: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="relative path in absolute uri"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/952iF7C2D8A1A7C2170C/image-size/large?v=v2&amp;amp;px=999" role="button" title="relative path in absolute uri" alt="relative path in absolute uri" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone give me some pointers towards what is wrong? If I uncomment the last line I get the same error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: enheter_full_2022-12-22T13:07:10.4988008Z_b744d2f4-5eb5-41a0-a546-e0514c7db325.json.gz&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Does anyone know how to fix this? All the googling I've done suggests this is a problem with my path starting with "/", but my path starts with abfss:...&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:31:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15014#M9408</guid>
      <dc:creator>espenol</dc:creator>
      <dc:date>2022-12-22T13:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't read large multiline json,</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15015#M9409</link>
      <description>&lt;P&gt;it seems to be your url, and the last part to be more precise.&lt;/P&gt;&lt;P&gt;what happens if you pass the complete path?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:41:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15015#M9409</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-12-22T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't read large multiline json,</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15016#M9410</link>
      <description>&lt;P&gt;That's a pretty old issue with having ':' sign in a file name.&lt;/P&gt;&lt;P&gt;As of now there's no perfect workaround other than simply renaming the file or moving file names into a list (needs to be tested).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/48909921/struggling-with-colon-in-file-names" alt="https://stackoverflow.com/questions/48909921/struggling-with-colon-in-file-names" target="_blank"&gt;https://stackoverflow.com/questions/48909921/struggling-with-colon-in-file-names&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:49:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15016#M9410</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2022-12-22T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't read large multiline json,</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15017#M9411</link>
      <description>&lt;P&gt;Thanks a lot for the help! Removing colon fixed it. Now I need to fix the Data Factory instance that writes to my storage container. Hope it's easy, Data Factory is such a hassle. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 14:00:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15017#M9411</guid>
      <dc:creator>espenol</dc:creator>
      <dc:date>2022-12-22T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't read large multiline json,</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15018#M9412</link>
      <description>&lt;P&gt;Please mark any if the given responses as best. Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 23:13:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-read-large-multiline-json/m-p/15018#M9412</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-12-27T23:13:31Z</dc:date>
    </item>
  </channel>
</rss>

