Re: date-time functions in hive

2011-02-18 Thread Edward Capriolo
On Fri, Feb 18, 2011 at 3:47 PM, Viral Bajaria wrote: > Hi, > I have a question regarding the existing date functions in Hive > (http://wiki.apache.org/hadoop/Hive/LanguageManual/UDF#Date_Functions) > The unix_timestamp() functions return a bigint while the from_unixtime() > accepts an int. I don'

date-time functions in hive

2011-02-18 Thread Viral Bajaria
Hi, I have a question regarding the existing date functions in Hive ( http://wiki.apache.org/hadoop/Hive/LanguageManual/UDF#Date_Functions) The unix_timestamp() functions return a bigint while the from_unixtime() accepts an int. I don't think that's the right thing to do ? the from_unixtime shoul