Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21693#discussion_r199744502
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -2945,6 +2956,17 @@ object functions {
ToUTCTimestamp(ts.expr, Literal(tz))
}
+ /**
+ * Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a
time in the given time
+ * zone, and renders that time as a timestamp in UTC. For example,
'GMT+1' would yield
+ * '2017-07-14 01: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]