Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B47B5183DE for ; Mon, 5 Oct 2015 22:41:12 +0000 (UTC) Received: (qmail 42287 invoked by uid 500); 5 Oct 2015 22:41:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 42203 invoked by uid 500); 5 Oct 2015 22:41:12 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 42191 invoked by uid 99); 5 Oct 2015 22:41:11 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 22:41:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 82534C028F for ; Mon, 5 Oct 2015 22:41:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.388 X-Spam-Level: *** X-Spam-Status: No, score=3.388 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ka4uY3LD9DcH for ; Mon, 5 Oct 2015 22:41:07 +0000 (UTC) Received: from nm30-vm6.bullet.mail.ne1.yahoo.com (nm30-vm6.bullet.mail.ne1.yahoo.com [98.138.91.123]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id EBB1323038 for ; Mon, 5 Oct 2015 22:41:06 +0000 (UTC) Received: from [98.138.226.179] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 05 Oct 2015 22:41:00 -0000 Received: from [98.138.89.194] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 05 Oct 2015 22:41:00 -0000 Received: from [127.0.0.1] by omp1052.mail.ne1.yahoo.com with NNFMP; 05 Oct 2015 22:41:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 349770.10897.bm@omp1052.mail.ne1.yahoo.com X-YMail-OSG: Me2BHAsVM1mRlnJ3HY2ae1aoSPkC8KmAlClHwhaEaiP36CrYdDFCGE11vDmCZIY O1jGJ6G5TQj3l6VvZKl7Dr1UvuscFv_HjS9Cfp.ZtaFELRH90uyKRgc_YD9ItE5jVxNwLer2dig8 5bWzhkVlKuZlRra1qFVejW0vOUcO.WEuK59r5940rL089VNmEM1O1F3j_288QuZ9JZowjWFSShpl _5oopVAfQHf5p_5aobVIiwklRVOKcYbPgDiO6RsLF_SjXq_Q75pT_KJISu.G9ZUq6m3TON5eWcPG U7YzUoBREYjHHcr4jwJPJnkZM7p1rSJsyerkp6yJjnM2PxiHMoCPICPfXo.QrcGtu0TZGETTaCz. N8LgB5dz4oSdQ4SGYdxVf_x9VkJMsh2rYMB_vjZjzwhpVTji97_1UDwkpBwQ._i08CPDjoJQKp.v Ske4uurFdZPsj61i0n_FfCGyNFAS9ajggoy3cl.v8HsG0Mv1Blnl9otRISkuteJ7cEkRMWDpxi4t PR_c0 Received: by 98.138.105.194; Mon, 05 Oct 2015 22:40:59 +0000 Date: Mon, 5 Oct 2015 22:40:59 +0000 (UTC) From: Mohammad Islam Reply-To: Mohammad Islam To: Hive , User Message-ID: <575063895.977988.1444084859583.JavaMail.yahoo@mail.yahoo.com> Subject: Schema evolution for parquet table MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_977987_1499369351.1444084859581" ------=_Part_977987_1499369351.1444084859581 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,Does the parquet table support auto casting to wider data types? For exa= mple, If I have a parquet table where some parquet data files which have "i= nt" =C2=A0as data type and other files have "long" data type for the same f= ield. The table schema has type "bigint" for the same field.Does hive can read th= e file that was written with type "int"? I got this exception "Failed with exception java.io.IOException:org.apache.= hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: org.ap= ache.hadoop.io.IntWritable cannot be cast to org.apache.hadoop.io.LongWrita= ble". Regards,Mohammad ------=_Part_977987_1499369351.1444084859581--