spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sim <...@swoop.com>
Subject Writing a DataFrame as compressed JSON
Date Tue, 11 Aug 2015 04:12:13 GMT
DataFrameReader.json() can handle gzipped JSONlines files automatically but
there doesn't seem to be a way to get DataFrameWriter.json() to write
compressed JSONlines files. Uncompressed JSONlines is a very expensive from
an I/O standpoint because field names are included in every record.

Is there a way around this problem?



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Writing-a-DataFrame-as-compressed-JSON-tp24206.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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


Mime
View raw message