[ https://issues.apache.org/jira/browse/SPARK-8191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-8191. ------------------------------- Resolution: Fixed Fix Version/s: 1.5.0 Issue resolved by pull request 7847 [https://github.com/apache/spark/pull/7847] > date/time function: to_utc_timestamp > ------------------------------------ > > Key: SPARK-8191 > URL: https://issues.apache.org/jira/browse/SPARK-8191 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Adrian Wang > Fix For: 1.5.0 > > > to_utc_timestamp(timestamp, string timezone): timestamp > Assumes given timestamp is in given timezone and converts to UTC (as of Hive > 0.8.0). For example, to_utc_timestamp('1970-01-01 00:00:00','PST') returns > 1970-01-01 08:00:00. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org