Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B485E186FC for ; Wed, 7 Oct 2015 18:07:31 +0000 (UTC) Received: (qmail 56917 invoked by uid 500); 7 Oct 2015 18:07:27 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 56832 invoked by uid 500); 7 Oct 2015 18:07:27 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 56813 invoked by uid 99); 7 Oct 2015 18:07:27 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 18:07:27 +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 15121C4231 for ; Wed, 7 Oct 2015 18:07:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id YC-QJfXxBEYI for ; Wed, 7 Oct 2015 18:07:19 +0000 (UTC) Received: from smtp2.tritondigital.com (smtp3.tritondigital.com [208.80.53.139]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 3FD7120756 for ; Wed, 7 Oct 2015 18:07:19 +0000 (UTC) From: Younes Naguib To: "'user@spark.apache.org'" Subject: Parquet file size Thread-Topic: Parquet file size Thread-Index: AdEBKvzkB4lGiMPQRKmXYQu5L1Jetw== Date: Wed, 7 Oct 2015 18:07:11 +0000 Message-ID: <8520F857C3D52C47ACE0A7456DF2B672BF492BD4@MTL-XCH01-BE01.tritondigital.int> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.80.53.15] Content-Type: multipart/alternative; boundary="_000_8520F857C3D52C47ACE0A7456DF2B672BF492BD4MTLXCH01BE01tri_" MIME-Version: 1.0 --_000_8520F857C3D52C47ACE0A7456DF2B672BF492BD4MTLXCH01BE01tri_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm reading a large tsv file, and creating parquet files using sparksql: insert overwrite table tbl partition(year, month, day).... Select .... from tbl_tsv; This works nicely, but generates small parquet files (15MB). I wanted to generate larger files, any idea how to address this? Thanks, Younes Naguib Triton Digital | 1440 Ste-Catherine W., Suite 1200 | Montreal, QC H3G 1R8 Tel.: +1 514 448 4037 x2688 | Tel.: +1 866 448 4037 x2688 | younes.naguib@t= ritondigital.com --_000_8520F857C3D52C47ACE0A7456DF2B672BF492BD4MTLXCH01BE01tri_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m reading a large tsv file, and creating par= quet files using sparksql:

insert overwrite <= /o:p>

table tbl partition(yea= r, month, day)....

Select .... from tbl_ts= v;

 

This works nicely, but generates small parquet files= (15MB).

I wanted to generate larger files, any idea how to a= ddress this?

 

Thanks,=

Younes Naguib<= span style=3D"font-size:10.0pt;font-family:"Arial","sans-ser= if";color:#434343">

Triton Digital | 1440 Ste-Catherine W., Suite 1200 |= Montreal, QC  H3G 1R8

Tel.= : +1 514 448 4037 x2688 | Tel.: +1 866 448 4037 x2688 | younes.naguib@tritondigital.com

 

--_000_8520F857C3D52C47ACE0A7456DF2B672BF492BD4MTLXCH01BE01tri_--