Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA4C0E2DE for ; Fri, 8 Mar 2013 03:22:17 +0000 (UTC) Received: (qmail 18078 invoked by uid 500); 8 Mar 2013 03:22:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17905 invoked by uid 500); 8 Mar 2013 03:22:16 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 17893 invoked by uid 99); 8 Mar 2013 03:22:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 03:22:16 +0000 Date: Fri, 8 Mar 2013 03:22:16 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8029) delete with TS should only delete that cell, not all cells after. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-8029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596757#comment-13596757 ] ramkrishna.s.vasudevan commented on HBASE-8029: ----------------------------------------------- Okie. I just saw Lars comment in the JIRA about the shell support. Replied on the mailing list the same. > delete with TS should only delete that cell, not all cells after. > ----------------------------------------------------------------- > > Key: HBASE-8029 > URL: https://issues.apache.org/jira/browse/HBASE-8029 > Project: HBase > Issue Type: New Feature > Components: Client, shell > Reporter: Kevin Odell > > delete with TS specified will delete all older cells. I know overloading the cells is not a great model, but sometimes it is useful and you don't want to delete all old cells. > hbase(main):028:0> truncate 'tre' > Truncating 'tre' table (it may take a while): > - Disabling table... > - Dropping table... > - Creating table... > 0 row(s) in 4.6060 seconds > hbase(main):029:0> put 'tre', 'row1', 'cf1:c1', 'abc', 111 > 0 row(s) in 0.0220 seconds > hbase(main):030:0> put 'tre', 'row1', 'cf1:c1', 'abcd', 112 > 0 row(s) in 0.0060 seconds > hbase(main):031:0> put 'tre', 'row1', 'cf1:c1', 'abce', 113 > 0 row(s) in 0.0120 seconds > hbase(main):032:0> scan 'tre', {NAME => 'cf1:c1', VERSIONS => 4} > ROW COLUMN+CELL > row1 column=cf1:c1, timestamp=113, value=abce > row1 column=cf1:c1, timestamp=112, value=abcd > row1 column=cf1:c1, timestamp=111, value=abc > hbase(main):033:0> delete 'tre', 'row1', 'cf1:c1', 112 > 0 row(s) in 0.0110 seconds > hbase(main):034:0> scan 'tre', {NAME => 'cf1:c1', VERSIONS => 4} > ROW COLUMN+CELL > row1 column=cf1:c1, timestamp=113, value=abce > 1 row(s) in 0.0290 seconds -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira