You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2018/09/22 20:12:00 UTC

[jira] [Created] (SPARK-25513) Read zipped CSV and JSON files

Maxim Gekk created SPARK-25513:
----------------------------------

             Summary: Read zipped CSV and JSON files
                 Key: SPARK-25513
                 URL: https://issues.apache.org/jira/browse/SPARK-25513
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


Spark can read compression files if there is compression codec for them. By default, Hadoop provides compressors/decompressors for bzip2, deflate, gzip, lz4 and snappy but they cannot be used directly for reading zip archives. 

In general zip archives can contain multiple entries but in practice users use zip archives to store only one file. This use case is pretty often in wild. 

The ticket aims to support reading of zipped CSV and JSON files in multi-line mode when each zip archive contains only one file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org