[
https://issues.apache.org/jira/browse/SPARK-8177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578518#comment-14578518
]
Adrian Wang commented on SPARK-8177:
------------------------------------
I'll deal with this.
> date/time function: year
> ------------------------
>
> Key: SPARK-8177
> URL: https://issues.apache.org/jira/browse/SPARK-8177
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
>
> year(string|date|timestamp): int
> Returns the year part of a date or a timestamp string: year("1970-01-01
> 00:00:00") = 1970, year("1970-01-01") = 1970.
> See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]