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 857FB200D19 for ; Fri, 6 Oct 2017 18:16:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 825971609D0; Fri, 6 Oct 2017 16:16:05 +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 C8DAA160BDB for ; Fri, 6 Oct 2017 18:16:04 +0200 (CEST) Received: (qmail 83951 invoked by uid 500); 6 Oct 2017 16:16:04 -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 83942 invoked by uid 99); 6 Oct 2017 16:16:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2017 16:16:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4AEF5C45C2 for ; Fri, 6 Oct 2017 16:16:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6hoCgQX05ww6 for ; Fri, 6 Oct 2017 16:16:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 48AFC5FBED for ; Fri, 6 Oct 2017 16:16:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C9299E041C for ; Fri, 6 Oct 2017 16:16:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8788624161 for ; Fri, 6 Oct 2017 16:16:00 +0000 (UTC) Date: Fri, 6 Oct 2017 16:16:00 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-22217) ParquetFileFormat to support arbitrary OutputCommitters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 Oct 2017 16:16:05 -0000 [ https://issues.apache.org/jira/browse/SPARK-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194791#comment-16194791 ] Apache Spark commented on SPARK-22217: -------------------------------------- User 'steveloughran' has created a pull request for this issue: https://github.com/apache/spark/pull/19448 > ParquetFileFormat to support arbitrary OutputCommitters > ------------------------------------------------------- > > Key: SPARK-22217 > URL: https://issues.apache.org/jira/browse/SPARK-22217 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.2.0 > Reporter: Steve Loughran > > Although you can choose which committer to write dataframes as parquet data via {{spark.sql.parquet.output.committer.class}}, you get a class cast exception if this is not a {{org.apache.parquet.hadoop.ParquetOutputCommitter}} or subclass. > This is not consistent with the docs in SQLConf, which says > bq. The specified class needs to be a subclass of org.apache.hadoop.mapreduce.OutputCommitter. Typically, it's also a subclass of org.apache.parquet.hadoop.ParquetOutputCommitter. > It is simple to relax {{ParquetFileFormat}}'s requirements, though if the user has set > {{parquet.enable.summary-metadata=true}}, and set a committer which is not a ParquetOutputCommitter, then they won't see the data. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org