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 CE2FD200C0E for ; Wed, 18 Jan 2017 04:44:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CCE49160B52; Wed, 18 Jan 2017 03:44: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 2139A160B46 for ; Wed, 18 Jan 2017 04:44:32 +0100 (CET) Received: (qmail 20162 invoked by uid 500); 18 Jan 2017 03:44:32 -0000 Mailing-List: contact issues-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list issues@carbondata.incubator.apache.org Received: (qmail 20153 invoked by uid 99); 18 Jan 2017 03:44:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 03:44:32 +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 DDCF0C25E8 for ; Wed, 18 Jan 2017 03:44:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id p-fU4GpgMg1H for ; Wed, 18 Jan 2017 03:44:31 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C3FFA5F576 for ; Wed, 18 Jan 2017 03:44:30 +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 E9081E8665 for ; Wed, 18 Jan 2017 03:44:27 +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 7931025288 for ; Wed, 18 Jan 2017 03:44:26 +0000 (UTC) Date: Wed, 18 Jan 2017 03:44:26 +0000 (UTC) From: "Liang Chen (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CARBONDATA-639) "Delete data" feature doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 Jan 2017 03:44:34 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827385#comment-15827385 ] Liang Chen commented on CARBONDATA-639: --------------------------------------- Just i verified : PR545 can fix this issue. > "Delete data" feature doesn't work > ---------------------------------- > > Key: CARBONDATA-639 > URL: https://issues.apache.org/jira/browse/CARBONDATA-639 > Project: CarbonData > Issue Type: Bug > Components: core > Affects Versions: 1.0.0-incubating > Reporter: Liang Chen > Assignee: sounak chakraborty > Fix For: 1.0.0-incubating > > > 1.Version:CarbonData is the latest master , Spark 1.6.2 > 2.Test Environment: spark-shell with command of ./bin/spark-shell --master local --jars ${carbondata_jar},${mysql_jar} > 3.Reproduce steps: > 1.Finish load data , query as below : cc.sql("select * from connectdemo1 where age > 40").show() : > +------+------+--------+-------+---+ > | name|gender|province|singler|age| > +------+------+--------+-------+---+ > |Abbott|Female| AB| false| 54| > |Abbott|Female| AB| false| 51| > |Abbott|Female| AB| false| 65| > |Abbott|Female| AB| false| 47| > |Abbott|Female| AB| false| 56| > |Abbott|Female| AB| false| 54| > |Abbott|Female| AB| false| 61| > |Abbott|Female| AB| false| 58| > |Abbott|Female| AB| false| 62| > |Abbott|Female| AB| false| 47| > |Abbott|Female| AB| false| 49| > |Abbott|Female| AB| false| 53| > |Abbott|Female| AB| false| 63| > |Abbott|Female| AB| false| 48| > |Abbott|Female| AB| false| 52| > |Abbott|Female| AB| false| 52| > |Abbott|Female| AB| false| 62| > |Abbott|Female| AB| false| 61| > |Abbott|Female| AB| false| 63| > |Abbott|Female| AB| false| 49| > +------+------+--------+-------+---+ > cc.sql("select count(*) from connectdemo1").show() > +-------+ > | _c0| > +-------+ > |9000000| > +-------+ > 2.cc.sql("delete from connectdemo1 where age > 60").show > 3.query again with cc.sql("select * from connectdemo1 where age > 40").show() and cc.sql("select count(*) from connectdemo1").show() : same result with before deletion , so the delete operation is failed. > +------+------+--------+-------+---+ > | name|gender|province|singler|age| > +------+------+--------+-------+---+ > |Abbott|Female| AB| false| 54| > |Abbott|Female| AB| false| 51| > |Abbott|Female| AB| false| 65| > |Abbott|Female| AB| false| 47| > |Abbott|Female| AB| false| 56| > |Abbott|Female| AB| false| 54| > |Abbott|Female| AB| false| 61| > |Abbott|Female| AB| false| 58| > |Abbott|Female| AB| false| 62| > |Abbott|Female| AB| false| 47| > |Abbott|Female| AB| false| 49| > |Abbott|Female| AB| false| 53| > |Abbott|Female| AB| false| 63| > |Abbott|Female| AB| false| 48| > |Abbott|Female| AB| false| 52| > |Abbott|Female| AB| false| 52| > |Abbott|Female| AB| false| 62| > |Abbott|Female| AB| false| 61| > |Abbott|Female| AB| false| 63| > |Abbott|Female| AB| false| 49| > +------+------+--------+-------+---+ > +-------+ > | _c0| > +-------+ > |9000000| > +-------+ -- This message was sent by Atlassian JIRA (v6.3.4#6332)