[ 
https://issues.apache.org/jira/browse/SPARK-16610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-16610.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1

Issue resolved by pull request 14518
[https://github.com/apache/spark/pull/14518]

> When writing ORC files, orc.compress should not be overridden if users do not 
> set "compression" in the options
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16610
>                 URL: https://issues.apache.org/jira/browse/SPARK-16610
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Yin Huai
>             Fix For: 2.0.1, 2.1.0
>
>
> For ORC source, Spark SQL has a writer option {{compression}}, which is used 
> to set the codec and its value will be also set to orc.compress (the orc conf 
> used for codec). However, if a user only set {{orc.compress}} in the writer 
> option, we should not use the default value of "compression" (snappy) as the 
> codec. Instead, we should respect the value of {{orc.compress}}.



--
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