GitHub user abradbury opened a pull request:
https://github.com/apache/spark/pull/20901
[SPARK-23792][DOCS] Documentation improvements for datetime functions
## What changes were proposed in this pull request?
Improved the documentation for the datetime functions in
`org.apache.spark.sql.functions` by adding details about the supported column
input types, the column return type, behaviour on invalid input, supporting
examples and clarifications.
## How was this patch tested?
Manually testing each of the datetime functions with different input to
ensure that the corresponding Javadoc/Scaladoc matches the behaviour of the
function. Successfully ran the `unidoc` SBT process.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/abradbury/spark SPARK-23792
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20901.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 #20901
----
commit 6dea103733e47e9aa57f331a78a662d3e20b9f77
Author: Adam Bradbury <abradbury@...>
Date: 2018-03-25T08:52:28Z
[SPARK-23792] Documentation improvements for datetime functions
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]