Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21693#discussion_r199744569
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -2934,6 +2934,17 @@ object functions {
FromUTCTimestamp(ts.expr, Literal(tz))
}
+ /**
+ * Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a
time in UTC, and renders
+ * that time as a timestamp in the given time zone. For example, 'GMT+1'
would yield
+ * '2017-07-14 03:40:00.0'.
+ * @group datetime_funcs
+ * @since 1.5.0
--- End diff --
`@since 2.4.0`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]