Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93709200B83 for ; Sat, 6 Aug 2016 04:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90BE9160AAC; Sat, 6 Aug 2016 02:15:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3481160AB2 for ; Sat, 6 Aug 2016 04:15:21 +0200 (CEST) Received: (qmail 20404 invoked by uid 500); 6 Aug 2016 02:15:20 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 20299 invoked by uid 99); 6 Aug 2016 02:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Aug 2016 02:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AB9302C0D5F for ; Sat, 6 Aug 2016 02:15:20 +0000 (UTC) Date: Sat, 6 Aug 2016 02:15:20 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-16610) When writing ORC files, orc.compress should not be overridden if users do not set "compression" in the options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 06 Aug 2016 02:15:22 -0000 [ https://issues.apache.org/jira/browse/SPARK-16610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410393#comment-15410393 ] Apache Spark commented on SPARK-16610: -------------------------------------- User 'HyukjinKwon' has created a pull request for this issue: 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 > > 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