Pyspark 如何从驱动器读取zip文件

Pyspark 如何从驱动器读取zip文件,pyspark,databricks,Pyspark,Databricks,我正在从数据库中的google驱动器读取zip文件,我收到一个错误: Archive: /tmp/dataset.csv.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory an

我正在从数据库中的google驱动器读取zip文件,我收到一个错误:

Archive:  /tmp/dataset.csv.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/dataset.csv.zip or
        /tmp/dataset.csv.zip.zip, and cannot find /tmp/dataset.csv.zip.ZIP, period.
tail: cannot open 'dataseta1.csv' for reading: No such file or directory
rm: cannot remove 'dataseta1.csv': No such file or directory

打开你的谷歌硬盘

帐户>新建>更多>连接更多应用


搜索ZIP提取器并安装它。现在,您可以在Google Drive中选择任何存档文件进行提取。选择文件并右键单击以使用ZIP提取器打开存储在驱动器中的ZIP文件

打开您的Google驱动器

帐户>新建>更多>连接更多应用

搜索ZIP提取器并安装它。现在,您可以在Google Drive中选择任何存档文件进行提取。选择文件并右键单击以使用ZIP提取器打开存储在驱动器中的ZIP文件