Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9016D18103 for ; Sat, 22 Aug 2015 03:00:11 +0000 (UTC) Received: (qmail 14658 invoked by uid 500); 22 Aug 2015 03:00:04 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 14578 invoked by uid 500); 22 Aug 2015 03:00:04 -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 14568 invoked by uid 99); 22 Aug 2015 03:00:04 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2015 03:00:04 +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 1950EDFEE0 for ; Sat, 22 Aug 2015 03:00:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-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 YIjfsdZL4KcR for ; Sat, 22 Aug 2015 03:00:03 +0000 (UTC) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 994D120381 for ; Sat, 22 Aug 2015 03:00:02 +0000 (UTC) Received: by igcse8 with SMTP id se8so13301450igc.1 for ; Fri, 21 Aug 2015 20:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LGLWuAhTf9YEM8xcLgxn8r7ArTc5cSEULzhgSYVUapo=; b=hK4eowI1BUz8skmOFrSFkQpQf0vRnsfN+N08FAyORQ9jY93W9Ohx+iXQ7f7MMQ8bsK a21psg2mPy5aAr0PDHcVy7z+My0cWiswTOYUsGPgig8XINtHbg0YI6hsJyMbEyGUMuFF RbCHmbRys3cl+xDnLdXZ/q/h/oYkqra2Ey1QVcW6YHg3sfEuckdQazxoyxc6FFD0wlla DpZ9pqQLbwzFG0m7KUqd6aIZD8xMRYk6zJjju9TKKOhoCTK2ZMEBx54PoFJUvLVbXxCf gRenvB+wLwFv3GZEr8K93u1Q8pZzr6U8ElvlG3z7/CxEcO8rZOC/dS0NX0BH+HZgbMOe KOMA== MIME-Version: 1.0 X-Received: by 10.50.137.100 with SMTP id qh4mr5376272igb.1.1440212401550; Fri, 21 Aug 2015 20:00:01 -0700 (PDT) Received: by 10.107.18.169 with HTTP; Fri, 21 Aug 2015 20:00:01 -0700 (PDT) Date: Fri, 21 Aug 2015 20:00:01 -0700 Message-ID: Subject: SemanticException Partition spec {p1=null, p2=null} contains non-partition columns From: Buntu Dev To: user@hive.apache.org Content-Type: multipart/alternative; boundary=001a11c31f74987c89051ddd94cb --001a11c31f74987c89051ddd94cb Content-Type: text/plain; charset=UTF-8 I'm running into this error while doing a dynamic partition insert. Heres how I created the table: ~~~~ CREATE TABLE `part_table`( `c1` bigint, `c2` bigint, `c3` bigint) PARTITIONED BY (p1 string, `p2` string) STORED AS PARQUET; ~~~~ Here is the insert table: ~~~~ SET hive.exec.dynamic.partition = true; SET hive.exec.dynamic.partition.mode = nonstrict; insert overwrite table part_table partition(p1, p2) select c1 as c1, c2 as c2, c3 as c3, regexp_replace(date_col, '-', '') as p1, p2 as p2 from src_table; ~~~~ I'm using Hive 1.1.0 on CDH 5.4.2. Can anyone let me know what else is missing? Thanks! --001a11c31f74987c89051ddd94cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm running into this error while doing a dynamic part= ition insert. Heres how I created the table:

~~~~
<= div>
CREATE TABLE `part_table`(
=C2=A0 `c1` bigint,
=C2=A0 `c2` bigint,
=C2=A0 `c3` bigint)
PARTITIONED BY= (p1 string, `p2` string)
STORED AS PARQUET;

=
~~~~

Here is the insert table:

~~~~
SET hive.exec.dynamic.partition =3D tr= ue;
SET hive.exec.dynamic.partition.mode =3D nonstrict;

insert overwrite table part_table partition(p1, = p2)
select c1 as c1,
=C2=A0 c2 as c2,
=C2=A0 = c3 as c3,
=C2=A0 regexp_replace(date_col, '-', ''= ) as p1,
=C2=A0 p2 as p2
from src_table;
~~~~

I'm using Hive 1.1.0 on CDH 5.4.2. Can = anyone let me know what else is missing?

Thanks!
--001a11c31f74987c89051ddd94cb--