You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by y_...@tsmc.com on 2010/02/23 09:52:28 UTC

Possible to get Max value by index column ?

Hi,

Any ways I can get the max value through index column,
like SQL: Select Max(column1) from tableName where indexColumn ='value1'
Thanks


Fleming Chiu(邱宏明)
707-6128
y_823910@tsmc.com
週一無肉日吃素救地球(Meat Free Monday Taiwan)


 --------------------------------------------------------------------------- 
                                                         TSMC PROPERTY       
 This email communication (and any attachments) is proprietary information   
 for the sole use of its                                                     
 intended recipient. Any unauthorized review, use or distribution by anyone  
 other than the intended                                                     
 recipient is strictly prohibited.  If you are not the intended recipient,   
 please notify the sender by                                                 
 replying to this email, and then delete this email and any copies of it     
 immediately. Thank you.                                                     
 --------------------------------------------------------------------------- 




Re: Possible to get Max value by index column ?

Posted by Dan Washusen <da...@reactive.org>.
You could fetch all the rows that match the indexColumn='value1' then sort
them on the client side.  However, that's probably not what you want...

2010/2/23 <y_...@tsmc.com>

> Hi,
>
> Any ways I can get the max value through index column,
> like SQL: Select Max(column1) from tableName where indexColumn ='value1'
> Thanks
>
>
> Fleming Chiu(邱宏明)
> 707-6128
> y_823910@tsmc.com
> 週一無肉日吃素救地球(Meat Free Monday Taiwan)
>
>
>
>  ---------------------------------------------------------------------------
>                                                         TSMC PROPERTY
>  This email communication (and any attachments) is proprietary information
>  for the sole use of its
>  intended recipient. Any unauthorized review, use or distribution by anyone
>  other than the intended
>  recipient is strictly prohibited.  If you are not the intended recipient,
>  please notify the sender by
>  replying to this email, and then delete this email and any copies of it
>  immediately. Thank you.
>
>  ---------------------------------------------------------------------------
>
>
>
>