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 AB2CB1079C for ; Tue, 17 Dec 2013 12:13:21 +0000 (UTC) Received: (qmail 12952 invoked by uid 500); 17 Dec 2013 12:13:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 12464 invoked by uid 500); 17 Dec 2013 12:13:10 -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 12438 invoked by uid 500); 17 Dec 2013 12:13:08 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 12430 invoked by uid 99); 17 Dec 2013 12:13:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 12:13:08 +0000 Date: Tue, 17 Dec 2013 12:13:06 +0000 (UTC) From: "ruish li (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-6042) With Dynamic partitioning, All partitions can not be overwrited MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 ruish li created HIVE-6042: ------------------------------ Summary: With Dynamic partitioning, All partitions can not be = overwrited Key: HIVE-6042 URL: https://issues.apache.org/jira/browse/HIVE-6042 Project: Hive Issue Type: Bug Components: Database/Schema Affects Versions: 0.12.0 Environment: OS: Red Hat Enterprise Linux Server release 6.2 HDFS: CDH-4.2.1 MAPRED: CDH-4.2.1-mr1 Reporter: ruish li Priority: Minor step1: create table=20 drop table if exists t; create table t(a int)PARTITIONED BY (city_ string); step2: insert data (table dual has only one value=EF=BC=9A =E2=80=98x=E2=80= =99) set hive.exec.dynamic.partition.mode=3Dnonstrict;=20 insert into table t partition(city_) select 1,'beijing' from dual;=20 insert into table t partition(city_) select 2,'shanghai' from dual; hive (default)> select * from t; 1=09beijing 2=09shanghai step3: overwrite table =EF=BC=8Cwe can show that insert overwrite table t partition(city_) select 3,'beijing' from dual; hive (default)> select * from t; 1=09beijing 2=09shanghai here we can see the partition city_=3Dshanghai exist yet,But we hope that = this partition is covered With Dynamic partitioning. -- This message was sent by Atlassian JIRA (v6.1.4#6159)