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 7ED64200BB1 for ; Thu, 3 Nov 2016 10:04:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7D6DF160AFF; Thu, 3 Nov 2016 09:04:33 +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 A0143160AFE for ; Thu, 3 Nov 2016 10:04:32 +0100 (CET) Received: (qmail 19526 invoked by uid 500); 3 Nov 2016 09:04:31 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 19504 invoked by uid 99); 3 Nov 2016 09:04:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 09:04:31 +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 F2D5FC0115 for ; Thu, 3 Nov 2016 09:04:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -7.019 X-Spam-Level: X-Spam-Status: No, score=-7.019 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id mX-Dh6zlSb-v for ; Thu, 3 Nov 2016 09:04:30 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 9D40B5F39A for ; Thu, 3 Nov 2016 09:04:29 +0000 (UTC) Received: (qmail 16192 invoked by uid 99); 3 Nov 2016 09:02:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 09:02:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 847E12C0005 for ; Thu, 3 Nov 2016 09:02:58 +0000 (UTC) Date: Thu, 3 Nov 2016 09:02:58 +0000 (UTC) From: "Lili Ma (JIRA)" To: dev@hawq.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HAWQ-1145) After registering a partition table, if we want to insert some data into the table, it fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 09:04:33 -0000 Lili Ma created HAWQ-1145: ----------------------------- Summary: After registering a partition table, if we want to in= sert some data into the table, it fails. Key: HAWQ-1145 URL: https://issues.apache.org/jira/browse/HAWQ-1145 Project: Apache HAWQ Issue Type: Bug Components: Command Line Tools Reporter: Lili Ma Assignee: Lei Chang Fix For: 2.0.1.0-incubating Reproduce Steps: 1. Create a partition table CREATE TABLE parquet_LINEITEM_uncompressed( = = = = L_ORDERKEY INT8, = = = = L_PARTKEY BIGINT, = = = = L_SUPPKEY = BIGINT, = = = = L_LINENUMBER BIGINT, = = = = L_QUANTITY decimal, = = = = L_EXTENDEDPRICE decimal, = = = = L_DISCOUNT decimal, = = = = L_TAX= decimal, = = = = L_RETURNFLAG CHAR(1), = = = = L_LINESTATUS CHAR(1), = = = = L_SHIPDATE date, = = = = L_COMMITDATE dat= e, = = = = L_RECEIPTDATE date, = = = = L_SHIPINSTRUCT CHAR(25), = = = = L_SHIPMODE CHAR(10), = = = = L_COMMENT VARCHAR(44) = = = = ) = = = = with (appen= donly=3Dtrue, orientation=3Dparquet) = = = partitio= n by range (l_commitdate) (start('1992-01-31') end('1998-11-01') every(inte= rval '1 years')); 2. copy some data into it. copy parquet_lineitem_uncompressed from '/Users/malili/tpch/lineitem_1g' wi= th delimiter '|'; 3. extract the table out to a yaml configuration file hawq extract -d postgres -o ~/partition.yml parquet_lineitem_uncompressed 4. register into a new table hawq register -d postgres -c ~/partition.yml parquet2 5. select from the new table select count(*) from parquet2; 6. insert new data into the new table postgres=3D# copy parquet2 from '/Users/malili/tpch/lineitem_1g' with delim= iter '|'; ERROR: Unexpected internal error (cdbparquetstoragewrite.c:840) (seg0 loc= alhost:40000 pid=3D60757) CONTEXT: COPY parquet2, line 6: "1|15635|638|6|32|49620.16|0.07|0.02|N|O|1= 996-01-30|1996-02-07|1996-02-03|DELIVER IN PERSON|MAIL|aref..." -- This message was sent by Atlassian JIRA (v6.3.4#6332)