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 75F89200CF1 for ; Mon, 28 Aug 2017 17:46:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 749A116503B; Mon, 28 Aug 2017 15:46:07 +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 C393D16503F for ; Mon, 28 Aug 2017 17:46:06 +0200 (CEST) Received: (qmail 19802 invoked by uid 500); 28 Aug 2017 15:46:05 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 19604 invoked by uid 99); 28 Aug 2017 15:46:05 -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; Mon, 28 Aug 2017 15:46:05 +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 5F52D185206 for ; Mon, 28 Aug 2017 15:46:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled 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 UF7xbqRAbSyP for ; Mon, 28 Aug 2017 15:46:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C73A660D26 for ; Mon, 28 Aug 2017 15:46:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C345E0E99 for ; Mon, 28 Aug 2017 15:46:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 91E6B2538E for ; Mon, 28 Aug 2017 15:46:00 +0000 (UTC) Date: Mon, 28 Aug 2017 15:46:00 +0000 (UTC) From: "Neha Bhardwaj (JIRA)" To: issues@carbondata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CARBONDATA-1415) Show Segments raises exception for a Partition Table after Updation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Aug 2017 15:46:07 -0000 Neha Bhardwaj created CARBONDATA-1415: ----------------------------------------- Summary: Show Segments raises exception for a Partition Table after Updation. Key: CARBONDATA-1415 URL: https://issues.apache.org/jira/browse/CARBONDATA-1415 Project: CarbonData Issue Type: Bug Components: data-query Environment: spark 2.1 Reporter: Neha Bhardwaj 1. Create Partition Table : DROP TABLE IF EXISTS list_partition_table_string; CREATE TABLE list_partition_table_string(shortField SHORT, intField INT, bigintField LONG, doubleField DOUBLE, timestampField TIMESTAMP, decimalField DECIMAL(18,2), dateField DATE, charField CHAR(5), floatField FLOAT, complexData ARRAY ) PARTITIONED BY (stringField STRING) STORED BY 'carbondata' TBLPROPERTIES('PARTITION_TYPE'='LIST', 'LIST_INFO'='Asia, America, Europe', 'DICTIONARY_EXCLUDE'='stringfield'); 2. Load Data : load data inpath 'hdfs://localhost:54310/CSV/list_partition_table.csv' into table list_partition_table_string options('FILEHEADER'='shortfield,intfield,bigintfield,doublefield,stringfield,timestampfield,decimalfield,datefield,charfield,floatfield,complexdata', 'COMPLEX_DELIMITER_LEVEL_1'='$','COMPLEX_DELIMITER_LEVEL_2'='#', 'SINGLE_PASS'='TRUE'); 3. Update Data : update list_partition_table_string set (stringfield)=('China') where stringfield = 'Japan' ; update list_partition_table_string set (stringfield)=('Japan') where stringfield > 'Europe' ; update list_partition_table_string set (stringfield)=('Asia') where stringfield < 'Europe' ; 4. Compaction : ALTER TABLE list_partition_table_string COMPACT 'Minor'; Show segments for table list_partition_table_string; Expected Output: Segments Must be Displayed. Actual Output : Error: java.lang.NullPointerException (state=,code=0) -- This message was sent by Atlassian JIRA (v6.4.14#64029)