You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/03/09 12:18:40 UTC
[jira] [Commented] (SPARK-11691) Allow to specify compression codec
in HadoopFsRelation when saving
[ https://issues.apache.org/jira/browse/SPARK-11691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186963#comment-15186963 ]
Hyukjin Kwon commented on SPARK-11691:
--------------------------------------
Could anybody take an action for this Jira?
Compressions are now supported via {{option()}} (for pythom API as well) and there is no need to add this to {{HadoopFsRelation}}. Also, this interface is changed, SPARK-13664 .
> Allow to specify compression codec in HadoopFsRelation when saving
> -------------------------------------------------------------------
>
> Key: SPARK-11691
> URL: https://issues.apache.org/jira/browse/SPARK-11691
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Jeff Zhang
>
> Currently, there's no way to specify compression codec when saving data frame to hdfs. It would nice to allow specify compression codec in DataFrameWriter just as we did in RDD api
> {code}
> def saveAsTextFile(path: String, codec: Class[_ <: CompressionCodec]): Unit = withScope {
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org