<?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 Is there any way to navigate/access cloud files using the direct abfss URI (no mount) with default python functions/libs like open() or os.listdir()? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-any-way-to-navigate-access-cloud-files-using-the-direct/m-p/34163#M24941</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today on our workspace we access everything via mount points, we plan to change it to "&lt;B&gt;abfss://&lt;/B&gt;" because of security, governance and performance reasons. The problem is sometimes we interact with files using "python only" code, and apparently it does not work with the abfss URI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any solution to be able to do something like this?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;with open('abfss://urlofcloudstorage/container/file.txt') as f:
    data = f.read()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;dbutils works with abfss, I would be able to copy from abfss to a tmp folder within dbfs and then read with python, but I have doubts if this is ideal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, any input is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Aug 2022 20:45:21 GMT</pubDate>
    <dc:creator>Malcoln_Dandaro</dc:creator>
    <dc:date>2022-08-20T20:45:21Z</dc:date>
    <item>
      <title>Is there any way to navigate/access cloud files using the direct abfss URI (no mount) with default python functions/libs like open() or os.listdir()?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-way-to-navigate-access-cloud-files-using-the-direct/m-p/34163#M24941</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today on our workspace we access everything via mount points, we plan to change it to "&lt;B&gt;abfss://&lt;/B&gt;" because of security, governance and performance reasons. The problem is sometimes we interact with files using "python only" code, and apparently it does not work with the abfss URI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any solution to be able to do something like this?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;with open('abfss://urlofcloudstorage/container/file.txt') as f:
    data = f.read()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;dbutils works with abfss, I would be able to copy from abfss to a tmp folder within dbfs and then read with python, but I have doubts if this is ideal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, any input is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 20:45:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-way-to-navigate-access-cloud-files-using-the-direct/m-p/34163#M24941</guid>
      <dc:creator>Malcoln_Dandaro</dc:creator>
      <dc:date>2022-08-20T20:45:21Z</dc:date>
    </item>
  </channel>
</rss>

