Typically this is something done as a MapReduce job. http://hbase.apache.org/book.html#mapreduce.example
7.2.4. HBase MapReduce Summary to HBase Example However, if this is an operation to be performed frequently by an application then doing frequent MapReduce jobs for summaries probably isn't the best idea. Either produce periodic summaries into another Hbase table, or denormalize and keep track of the required summaries upon data load. On 10/10/12 6:59 AM, "[email protected]" <[email protected]> wrote: >Hi all, > Is it possible to select distinct value from Hbase table. > >Example :- > what is the equivalant code for the below Oracle code in Hbase ? > > Select count (distinct deptno) from emp ; > >Regards >Raviprasad. T > > >This e-Mail may contain proprietary and confidential information and is >sent for the intended recipient(s) only. If by an addressing or >transmission error this mail has been misdirected to you, you are >requested to delete this mail immediately. You are also hereby notified >that any use, any form of reproduction, dissemination, copying, >disclosure, modification, distribution and/or publication of this e-mail >message, contents or its attachment other than by its intended >recipient/s is strictly prohibited. > >Visit us at http://www.polarisFT.com
