Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-07-2017 08:58 PM
Hello experts;
I have this query is getting PST time in Hive but how can I convert this PST time to UTC time? Please help
select from_unixtime(unix_timestamp()-1*60*60*4, 'yyyyMMddHH') as pst_time;
Thanks in advance
JN
Created 08-09-2017 12:06 AM
hi @JT Ng
Hive supports functions to_utc_timestamp() and from_utc_timestamp() to make this easier. Please see the language manual here for these functions including examples of how to invoke them.
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
Created 08-09-2017 12:06 AM
hi @JT Ng
Hive supports functions to_utc_timestamp() and from_utc_timestamp() to make this easier. Please see the language manual here for these functions including examples of how to invoke them.
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
Created 08-09-2017 01:38 PM
hi Sahi,
Thanks for your posts. I am able to use to_utc_timestamp() and from_utc_timestamp() functions.
Thanks