You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Carolina Vizuete Martinez <cv...@pragsis.com> on 2013/01/15 10:34:43 UTC

I would like to report a bug

Hi, I would like to report a bug .
I get negative value of function unix_timestamp.

I want to get a duration of format HH:mm:ss

     unix_timestamp(duration,'HH:mm:ss')



When I test it backwards ,it works , I get my duration in a well format
with correct values. This:

     from_unixtime( unix_timestamp(duration,'HH:mm:ss'))

But anyway , I can not get unixtimestamp in seconds.



Thanks