Return-Path: Delivered-To: apmail-hive-user-archive@www.apache.org Received: (qmail 97536 invoked from network); 19 Jan 2011 07:29:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 07:29:11 -0000 Received: (qmail 37476 invoked by uid 500); 19 Jan 2011 07:29:11 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 37301 invoked by uid 500); 19 Jan 2011 07:29:07 -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 37283 invoked by uid 99); 19 Jan 2011 07:29:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 07:29:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Guy.Doulberg@conduit.com designates 64.78.22.16 as permitted sender) Received: from [64.78.22.16] (HELO EXHUB017-1.exch017.msoutlookonline.net) (64.78.22.16) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 07:28:59 +0000 Received: from EXVMBX017-12.exch017.msoutlookonline.net ([64.78.22.53]) by EXHUB017-1.exch017.msoutlookonline.net ([64.78.22.16]) with mapi; Tue, 18 Jan 2011 23:28:38 -0800 From: Guy Doulberg To: "user@hive.apache.org" Date: Tue, 18 Jan 2011 23:26:44 -0800 Subject: Add Partitions - is this a bug? Thread-Topic: Add Partitions - is this a bug? Thread-Index: Acu3qjl7sCwqkB78TrankNiYoYcYrA== Message-ID: <6AB151AD074C18409E0CA3CD8D43123029E9C426F2@EXVMBX017-12.exch017.msoutlookonline.net> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: he-IL, en-US Content-Type: multipart/alternative; boundary="_000_6AB151AD074C18409E0CA3CD8D43123029E9C426F2EXVMBX01712ex_" MIME-Version: 1.0 --_000_6AB151AD074C18409E0CA3CD8D43123029E9C426F2EXVMBX01712ex_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey all, I tried yesterday to bulkily add partitions, i.e: ALTER TABLE table add PARTITION (p=3D'1') LOCATION 'path1' PARTITION (p=3D'2') LOCATION 'path2' PARTITION (p=3D'3') LOCATION 'path3' PARTITION (p=3D'4') LOCATION 'path4 ... After running this command, I got ok. Later I used the describe partition command, and discovered that: Partition 2,3,4 are pointing to the location of partition 1. Is it a known bug? I am using hive 0.5, was it fixed in 0.6? Thanks, --_000_6AB151AD074C18409E0CA3CD8D43123029E9C426F2EXVMBX01712ex_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hey all,

 

I tried yesterday to bulkily add partitions, i.e:

 

ALTER TABLE table add

          &nb= sp;            =          PARTITION (p=3D'1') LOCATION 'path1'

          &nb= sp;            =          PARTITION (p=3D'2') LOCATION 'path2'

          &nb= sp;            =          PARTITION (p=3D'3') LOCATION 'path3'

          &nb= sp;            =          PARTITION (p=3D'4') LOCATION 'path4

 

After running this command, I got ok.

 

Later I used the describe partition command, and discovered that:

Partition 2,3,4 are pointing to the location of partition 1.

 

 

Is it a known bug?

I am using hive 0.5, was it fixed in 0.6?

Thanks,

 

 

--_000_6AB151AD074C18409E0CA3CD8D43123029E9C426F2EXVMBX01712ex_--