hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject Re: from_unixtime() and epoch definition
Date Fri, 31 Oct 2014 12:06:43 GMT
Do you have a copy paste error?

I see both values as same

On Fri, Oct 31, 2014 at 5:30 PM, Maciek <maciek@sonra.io> wrote:

> Any reason why
>
> select from_unixtime(0) t0 FROM …
>
> gives
>
> 1970-01-01 01:00:00
>
> ?
>
> By all available definitions (epoch, from_unixtime etc..) I would expect
> it to be 1970-01-01 01:00:00…?
>



-- 
Nitin Pawar

Mime
View raw message