[ 
https://issues.apache.org/jira/browse/SPARK-11691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001801#comment-15001801
 ] 

Jeff Zhang commented on SPARK-11691:
------------------------------------

Will create a PR soon.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to