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 5316F200B11 for ; Sun, 15 May 2016 01:15:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4A91D160A1A; Sat, 14 May 2016 23:15:17 +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 6B594160969 for ; Sun, 15 May 2016 01:15:16 +0200 (CEST) Received: (qmail 78493 invoked by uid 500); 14 May 2016 23:15:10 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 78483 invoked by uid 99); 14 May 2016 23:15:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2016 23:15:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E60AA180184 for ; Sat, 14 May 2016 23:15:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wohdbhrqZ2EU for ; Sat, 14 May 2016 23:15:07 +0000 (UTC) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9AE905F2C5 for ; Sat, 14 May 2016 23:15:06 +0000 (UTC) Received: by mail-qk0-f175.google.com with SMTP id x7so78646035qkd.3 for ; Sat, 14 May 2016 16:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=rlFEtKBsaCDk36sKfS5P3lvPiL5IrAgl6t3oB6mTOog=; b=vSrEYSu2FIyspVmfl6xxdp9mNgIn9fM9wkAtFIP9P01h0o4vEzCVIoN5yd4W/itZcb 1cM3Slm2cNV0i4NAAqWAdUDjgtxzBDv+MnGx5g7hHyAErtv5piW78477wC/kbQuT5Hy7 WFFKwZhef1GQwNLOdatuNYy/whJ2Sk9iu/ugK1MYayGouRWJ96xGDPDS79QB4OkEGO3c z7hcUKWECVhIMYGZvyj5/2SmYXdQVGSA5VsqTZh7Di9QdPDzSSETUg29E11/zOG1U2FV QGX6cK+JmMWJ9W26cCt3weZcCDEReC98J1BuOxy5A0pBtRDQzXV/ONRwnhCSx/l78lSj XoYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=rlFEtKBsaCDk36sKfS5P3lvPiL5IrAgl6t3oB6mTOog=; b=fcTC5bH1Nq093hg3cDUQwmQAQQr2f7oSRTGSxUcnH3tvhnan97Or59Ycr8/YwpKvrv +E+/Jrm/izTw5jwfTps1BHGeJIz1YsA+ocCz4Tw7bH6CGgIKFskXB9bCf0SSm15q6na/ eI/x/4C1lY0SdOPvzpky+pIFqSXJUaVc3RQXUegVpLWoPz/PWFp6LzJhBx+2u4nR4Mg7 tlcEwdV98IyrRmfI92uTVY0zv/RDMNZOfffzIu4U4+WsL9FUobcFkp6ioHm5/s7xoDgD 9GGbb1oRaLg7Vgkcy8uLVuOgVCiD+ulvCv16zsxd5TOqBzAwjuqy7oRqsnWusm0sH0Xm VCOQ== X-Gm-Message-State: AOPr4FWdlwGeHn2fZeXeWMRCENZtLS4T4sgN0b2P28/oBn4ZXUezinxiT8/75X0Sq1x1Hb/gVevHoGZu4/ZOLw== MIME-Version: 1.0 X-Received: by 10.55.212.71 with SMTP id l68mr11289161qki.123.1463267700478; Sat, 14 May 2016 16:15:00 -0700 (PDT) Received: by 10.55.70.69 with HTTP; Sat, 14 May 2016 16:15:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 15 May 2016 00:15:00 +0100 Message-ID: Subject: Re: Query Failing while querying on ORC Format From: Mich Talebzadeh To: user Content-Type: multipart/alternative; boundary=001a1149d2be7f99f30532d58f58 archived-at: Sat, 14 May 2016 23:15:17 -0000 --001a1149d2be7f99f30532d58f58 Content-Type: text/plain; charset=UTF-8 check this thread. alter table add columns aternatives or hive refresh that night help HTH Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw * http://talebzadehmich.wordpress.com On 14 May 2016 at 23:29, Mahender Sarangam wrote: > Hi, > We are dumping our data into ORC Partition Bucketed table. We have loaded > almost 6 months data and here month is Partition by column. Now we have > modified ORC partition bucketed table schema. We have added 2 more columns > to the ORC table. Now whenever we are running select statement for older > month which has no columns( even though these columns are not part in > select clause, (projection column) ), it is throwing exception. > > There is JIRA bug for this kind of requirement has already been raised. > https://issues.apache.org/jira/browse/HIVE-11981 > > Can any one please tell me know alternative workaround for reading old > previous columns of ORC partition table. > > Thanks > --001a1149d2be7f99f30532d58f58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
check this thread.

alter tab= le add columns aternatives or hive refresh
<= div>
that night help

HTH
=


On 14 May 2016 at 23:29, Mahender Sarangam <= span dir=3D"ltr"><mahender.bigdata@outlook.com> wrote:
Hi,
We are dumping our data into ORC=C2=A0Partitio= n Bucketed table. We have loaded almost 6 months=C2=A0data and here month i= s Partition by column. Now we have modified=C2=A0ORC partition bucketed=C2= =A0table schema. We have added=C2=A02 more columns to the=C2=A0ORC table. N= ow whenever we are running=C2=A0select statement for older month which has = no columns( even though these columns are not part in select clause, (proje= ction column)=C2=A0), it is throwing exception.
=C2=A0
There is JIRA = bug for this kind of requirement has already been raised.
https://is= sues.apache.org/jira/browse/HIVE-11981
=C2=A0
Can any one please = tell me know alternative workaround for reading old previous columns of ORC= partition table.
=C2=A0
Thanks

--001a1149d2be7f99f30532d58f58--