GitHub user tmnd1991 opened a pull request:
https://github.com/apache/spark/pull/21693
[SPARK 24673]
## What changes were proposed in this pull request?
Add an overloaded version to `from_utc_timestamp` and `to_utc_timestamp`
having second argument as a `Column` instead of `String`.
## How was this patch tested?
Unit testing, especially adding two tests to
org.apache.spark.sql.DateFunctionsSuite.scala
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tmnd1991/spark feature/SPARK-24673
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21693.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21693
----
commit 8bec90436cfa875dec58e2f315dce5b9ea2d23c4
Author: Antonio Murgia <antonio.murgia@...>
Date: 2018-06-28T20:41:27Z
[SPARK-24673] Add overloaded functions
commit 3a376bc933188fc26c9e165586e472fe2cb645e6
Author: Antonio Murgia <antonio.murgia@...>
Date: 2018-07-02T07:21:52Z
[SPARK-24673] Add tests to to/from_utc_timestamp and fix doc
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]