hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sharma" <anoop.sha...@esgyn.com>
Subject Visibility Expressions and Deletes
Date Mon, 26 Oct 2015 15:32:17 GMT
 

hi, Couple questions regarding Visibility Expressions and Delete.

 

1)      If delete of a row is done without passing any visib expression,
then it deletes cells that contain no visib expressions.

       If a delete is done after specifying a visibility label, then it
deletes cells which match that expression.

       Is there a way to delete all cells of a 'row' irrespective of what
visibility expression is associated with a particular cell?

       Otherwise one need to know what visibility expression is  stored in a
cell and keeping track of that is not trivial.

 

2)      What is the expected behavior in the following example:

                 put 'HBT1', 'John', 'cf:address2', 'CA',
{VISIBILITY=>'DEVELOPER | MANAGER'}

                 delete 'HBT1', 'John', 'cf:address2',
{VISIBILITY=>'DEVELOPER'}

       Should the delete remove that cell since the visib expr of that cell
is an 'OR'? 

      Right now, it seems like the original expr (DEVELOPER | MANAGER)  is
needed to delete it?

 

 

thanks for any help you can provide.

 

anoop


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message