Not able to unzip the zip file with mount and unity catalog

Gareema
Contributor

Hello Team, 

I have a zip file in ADLS Gen 2. The folder I am using is mounted and when I run command : dbutils.fs.ls(path) it lists all the files(including the zip require). 

However, when I try to read the zip using 'zipfile' module, it displays 'FileNotFoundError'. 

Gareema_0-1721743802964.png

I am able to copy this file to volume from the mount point and unzip it and it is working fine. 
I want to use mounts for the time being. The file size is around 3GB and I am using unity catalog. 

I have tried using the method to convert zip to binary and then read, however there is a limitation of size in that case. 

My requirement is just to unzip the files after reading the metadata of the files before unzipping.