<?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: How to load a json file in pyspark with colon character in file name in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22454#M15379</link>
    <description>&lt;P&gt;Hi @Laura Blancarte​&amp;nbsp;I hope that @Pearl Ubaru​'s answer would have helped you in resolving your issue.Please let us know if you need more help on this.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 04:50:31 GMT</pubDate>
    <dc:creator>Noopur_Nigam</dc:creator>
    <dc:date>2022-08-02T04:50:31Z</dc:date>
    <item>
      <title>How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22447#M15372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to load this json file which contains the colon character in its name: file_name.2022-03-05_11:30:00.json  but I get the error in screenshot below saying that there is a relative path in an absolute url -  &lt;/P&gt;&lt;P&gt;Any idea how to read this file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_name = file_name.2022-03-05_11:30:00.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1922iA7B57FD2BE1DBE9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Thanks for your help in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 13:55:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22447#M15372</guid>
      <dc:creator>laus</dc:creator>
      <dc:date>2022-04-21T13:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22448#M15373</link>
      <description>&lt;P&gt;Hi @Laura Blancarte​&amp;nbsp;. Have you tried saving the file path to a list?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:54:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22448#M15373</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-21T14:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22449#M15374</link>
      <description>&lt;P&gt;Hi @Pearl Ubaru​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have a list of path files through which I loop and try to load the file at the current index but I get the same error about there being a relative path. Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ty!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 15:31:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22449#M15374</guid>
      <dc:creator>laus</dc:creator>
      <dc:date>2022-04-21T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22450#M15375</link>
      <description>&lt;P&gt;Is it okay if I see a bit more of your code? Preferably the list and loop?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:00:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22450#M15375</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-21T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22451#M15376</link>
      <description>&lt;P&gt;@Pearl Ubaru​&amp;nbsp;, Sure, here it is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1924i56F361979343F992/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:37:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22451#M15376</guid>
      <dc:creator>laus</dc:creator>
      <dc:date>2022-04-21T16:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22452#M15377</link>
      <description>&lt;P&gt;Hi @Laura Blancarte​&amp;nbsp;, I apologize for the late response... Try replacing the colons in the file name with %3A. This will work by replacing the colons with URL encoded format.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 20:21:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22452#M15377</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-26T20:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a json file in pyspark with colon character in file name</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22454#M15379</link>
      <description>&lt;P&gt;Hi @Laura Blancarte​&amp;nbsp;I hope that @Pearl Ubaru​'s answer would have helped you in resolving your issue.Please let us know if you need more help on this.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 04:50:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-load-a-json-file-in-pyspark-with-colon-character-in-file/m-p/22454#M15379</guid>
      <dc:creator>Noopur_Nigam</dc:creator>
      <dc:date>2022-08-02T04:50:31Z</dc:date>
    </item>
  </channel>
</rss>

