Hi,
Hbase table name :- emp
Column family :- cf
Under the column family cf we will be having the field name deptno
Regards
Raviprasad. T
Mobile :- 91- 9894769541
-----Anoop Sam John <anoopsj@huawei.com> wrote: -----
To: "user@hbase.apache.org" <user@hbase.apache.org>, "hbase-user@hadoop.apache.org"
<hbase-user@hadoop.apache.org>
From: Anoop Sam John <anoopsj@huawei.com>
Date: 10/10/2012 06:18PM
Subject: RE: HBase table - distinct values
Hi
Your schema? 'deptno' is a cf:qualifier?
-Anoop-
________________________________________
From: raviprasad.t@polarisFT.com [raviprasad.t@polarisFT.com]
Sent: Wednesday, October 10, 2012 4:29 PM
To: user@hbase.apache.org; hbase-user@hadoop.apache.org
Subject: HBase table - distinct values
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
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
|