[
https://issues.apache.org/jira/browse/HBASE-11088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985025#comment-13985025
]
Andrew Purtell commented on HBASE-11088:
----------------------------------------
There are a couple of issues with argument handling.
- Something called "timestamp" is not guaranteed to be a timestamp, it could be
a hash meaning something entirely else.
- If no timestamp is provided but the option hash is, then we don't check if
the key is "VISIBILITY", we just assume whatever is the last string value
enumerated in the hash is a visibility expression. That's not correct, but also
I can see other delete options being added later via this new hash.
I don't think _delete_internal() should take a variable number of arguments.
Instead deal with variations in command forms with default args to command().
Then it's easy to fix the above mentioned issues.
> Support Visibility Expression Deletes in Shell
> ----------------------------------------------
>
> Key: HBASE-11088
> URL: https://issues.apache.org/jira/browse/HBASE-11088
> Project: HBase
> Issue Type: Sub-task
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.99.0, 0.98.2
>
> Attachments: HBASE-11058.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)