Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> intersection of row ids


Copy link to this message
-
Re: intersection of row ids
You can scan through one table and see if the other one has those rowids or
not.

On Thu, Mar 10, 2011 at 8:08 PM, Vishal Kapoor
<[EMAIL PROTECTED]>wrote:

> Friends,
> how do I best achieve intersection of sets of row ids
> suppose I have two tables with similar row ids
> how can I get the row ids present in one and not in the other?
> does things get better if I have row ids as values in some qualifier/
> qualifier itself?
> I hope the question is not too confusing...
>
> intersection of {1, 2, 3} and {2, 3, 4} is {2, 3}.
> while {1,2,3} are row ids from a table, {2,3,4} may come from other table
> as
> qualifiers in some row.
>
> thanks,
> Vishal
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB