hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mafish Liu" <maf...@gmail.com>
Subject Re: How to specify a timestamp in HQL ?
Date Wed, 19 Mar 2008 08:41:00 GMT
Yang:
  TimeStamp is a long value decided by hbase system automatically and is not
presented by a user-defined string format.

Best regards.

On Wed, Mar 19, 2008 at 3:23 PM, Bin YANG <yangbinisme82@gmail.com> wrote:

> Dear colleagues,
>
> I want to specify a time in SELECT function in HQL?
>
> I trys the following statements:
>
>  select * from table_web TIMESTAMP '2008/3/19' ;
>
>  select * from table_web TIMESTAMP '2008/3/19 15:10';
>
> It tells that the format of the TIMESTAMP is incorrect, could you
> please tell me the right format of the TIMESTAMP?
>
> thanks a lot!
>
> bin yang
>
> --
> Bin YANG
> Department of Computer Science and Engineering
> Fudan University
> Shanghai, P. R. China
> EMail: yangbinisme82@gmail.com
>



-- 
Mafish@gmail.com
Institute of Computing Technology, Chinese Academy of Sciences, Beijing.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message