[ 
https://issues.apache.org/jira/browse/HBASE-5268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191958#comment-13191958
 ] 

Lars Hofhansl edited comment on HBASE-5268 at 1/24/12 8:42 AM:
---------------------------------------------------------------

@Stack... Here's an example.
Say you can columns X100, X101, X102, ..., X199, and X200, X201, X202, ..., 
X299, X300, ..., in a row R, all in the same column family.
(I'd have this if I modeled rows inside HBase rows by using a prefix to 
identify the inner rows.)

Now I want to be able to delete all columns that start with X1. Without a 
prefix delete marker I'd have to place 100 column delete markers. With a prefix 
marker I can just place one marker for the X1 prefix.
If the prefix is empty, this would degenerate into the same behavior as a 
family marker (albeit less efficient).

                
      was (Author: lhofhansl):
    @Stack... Here's an example.
Say you can columns X100, X101, X102, ..., X199, and X200, X201, X202, ..., 
X299, X300, ..., in a row R, all in the same column family.
(I'd have this if I modeled rows inside HBase by using a prefix to identify the 
inner rows.)

Now I want to be able to delete all columns that start with X1. Without a 
prefix delete marker I'd have to place 100 column delete markers. With a prefix 
marker I can just place one marker for the X1 prefix.
If the prefix is empty, this would degenerate into the same behavior as a 
family marker (albeit less efficient).

                  
> Add delete column prefix delete marker
> --------------------------------------
>
>                 Key: HBASE-5268
>                 URL: https://issues.apache.org/jira/browse/HBASE-5268
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, regionserver
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.0
>
>         Attachments: 5268.txt
>
>
> This is another part missing in the "wide row challenge".
> Currently entire families of a row can be deleted or individual columns or 
> versions.
> There is no facility to mark multiple columns for deletion by column prefix.
> Turns out that be achieve with very little code (it's possible that I missed 
> some of the new delete bloom filter code, so please review this thoroughly). 
> I'll attach a patch soon, just working on some tests now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to