<?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: Not able to unzip the zip file with mount and unity catalog in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80697#M36123</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/107959"&gt;@Witold&lt;/a&gt;, I know but there is a business limitation to that, so we currently can't move that. and till we move to volumes, some legacy data will be there so can't drop that as well.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2024 10:22:07 GMT</pubDate>
    <dc:creator>Gareema</dc:creator>
    <dc:date>2024-07-26T10:22:07Z</dc:date>
    <item>
      <title>Not able to unzip the zip file with mount and unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80159#M35953</link>
      <description>&lt;P&gt;Hello Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a zip file in ADLS Gen 2. The folder I am using is mounted and when I run command :&amp;nbsp;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;ls(path) it lists all the files(including the zip require).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when I try to read the zip using 'zipfile' module, it displays 'FileNotFoundError'.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gareema_0-1721743802964.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9817iD3753B123F21D5F9/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Gareema_0-1721743802964.png" alt="Gareema_0-1721743802964.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am able to copy this file to volume from the mount point and unzip it and it is working fine.&amp;nbsp;&lt;BR /&gt;I want to use mounts for the time being. The file size is around 3GB and I am using unity catalog.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried using the method to convert zip to binary and then read, however there is a limitation of size in that case.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My requirement is just to unzip the files after reading the metadata of the files before unzipping.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 14:15:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80159#M35953</guid>
      <dc:creator>Gareema</dc:creator>
      <dc:date>2024-07-23T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to unzip the zip file with mount and unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80673#M36115</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is true that os.path.isdir(path) returns false, which is the major concern as when I try to use dbutils or just read the whole zip as a text file, it doesn't give an issue with the path.&amp;nbsp;&lt;BR /&gt;example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gareema_0-1721977616160.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9910i7C1EAF013D9B0607/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Gareema_0-1721977616160.png" alt="Gareema_0-1721977616160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but when I try to use it otherwise it fails with the message 'path not found'.&amp;nbsp;&lt;BR /&gt;I am using dbfs mount points and adls gen2 that is mounted to cluster.&lt;BR /&gt;so my path looks something like this: '/dbfs/mnt/&amp;lt;container-name&amp;gt;/&amp;lt;folder-name&amp;gt;'&lt;/P&gt;&lt;P&gt;Can this be a problem with the mounting or Unity Catalog? How could the same path be accessible to half features and half doesn't work?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 07:08:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80673#M36115</guid>
      <dc:creator>Gareema</dc:creator>
      <dc:date>2024-07-26T07:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to unzip the zip file with mount and unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80689#M36121</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110775"&gt;@Gareema&lt;/a&gt;, since you're using UC, can you use&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/volumes/" target="_self"&gt;Volumes&lt;/A&gt;&amp;nbsp;instead? It basically replaces the old mount approach.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 10:08:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80689#M36121</guid>
      <dc:creator>Witold</dc:creator>
      <dc:date>2024-07-26T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to unzip the zip file with mount and unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80697#M36123</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/107959"&gt;@Witold&lt;/a&gt;, I know but there is a business limitation to that, so we currently can't move that. and till we move to volumes, some legacy data will be there so can't drop that as well.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 10:22:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-unzip-the-zip-file-with-mount-and-unity-catalog/m-p/80697#M36123</guid>
      <dc:creator>Gareema</dc:creator>
      <dc:date>2024-07-26T10:22:07Z</dc:date>
    </item>
  </channel>
</rss>

