Read and Write .zip file in Spark


Hi I want to read and write .zip file in spark. I didn’t find any solution regarding this. I am using spark 2.0.1.
Please let me know if anyone has solution.


@hemantkumarrout, you might want to unzip it, store it a format such as Parquet, run the Spark program, save the result and then zip it back again.


why parquet?? i understood that even parquet files doesnt support splitting?