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

stack commented on HBASE-961:
-----------------------------


Why COLFAMILY_REGEX in HBaseTestCase.java and not in TestDeleteFamily.java 
where it is only place used? (I'm guessing you are trying to follow a discerned 
patten?)

Is the regex correct?  Seems like it does not allow for the ':' columnfamily 
delimiter character?  colA in your test is 'colfamily1:a' if I read it right 
and a regex of "col[a-zA-Z]*1" won't match? (Whats the '1' on the end for?).

Is deleteFamilyByRegex needed?  Or is it that deleteAllByRegex can't be made do 
this operation?

Otherwise, patch looks great.



> Delete multiple columns by regular expression
> ---------------------------------------------
>
>                 Key: HBASE-961
>                 URL: https://issues.apache.org/jira/browse/HBASE-961
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client
>         Environment: HBase 0.18.0
>            Reporter: Slava
>            Assignee: Samuel Guo
>         Attachments: HBASE-961.patch
>
>
> Hi.
> I tried to find a way to delete multiple columns that their names match some 
> regular expression, but this functionality is missing (i think).
> Is it possible to add such functionality ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to