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/07/19 02:03:20 UTC

[jira] [Comment Edited] (SPARK-16610) When writing ORC files, orc.compress should not be overridden if users do not set "compression" in the options

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

Hyukjin Kwon edited comment on SPARK-16610 at 7/19/16 2:02 AM:
---------------------------------------------------------------

Thank you for cc me! Yea, actually I pointed this out in the PR. Please check out this https://github.com/apache/spark/pull/13048#discussion_r63132718


was (Author: hyukjin.kwon):
Yea, actually I pointed this out in the PR. Check out this https://github.com/apache/spark/pull/13048#discussion_r63132718

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