Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Quoted visibility equality?

Copy link to this message
Re: Quoted visibility equality?
They are different.  But this has always been the case:

$ ./bin/accumulo shell --fake -u root -p ''

Shell - Apache Accumulo Interactive Shell
- version: 1.6.0-SNAPSHOT
- instance name: fake
- instance id: mock-instance-id
- type 'help' for a list of available commands
root@fake> setauths a,b
root@fake> createtable t
root@fake t> insert -l a&b a b c d
root@fake t> insert -l b&a a b c d
root@fake t> insert -l (b)&a a b c d
root@fake t> scan
a b:c [(b)&a]    d
a b:c [a&b]    d
a b:c [b&a]    d
On Sat, Jul 13, 2013 at 7:32 PM, Ed Kohlwey <[EMAIL PROTECTED]> wrote:

> I just noticed something as I was hacking today on the trunk - does the new
> column visibility code (with escape sequences) accommodate visibilities
> that are equivalent but not stored using the same byte representation? My
> assumption is no...
> Ie., is the visibility "a&b" equivalent to "\"a\"&b" for the purpose of the
> max versions iterator, etc.?