You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/16 20:24:04 UTC

[jira] [Commented] (SPARK-9115) date/time function: dayInYear

    [ https://issues.apache.org/jira/browse/SPARK-9115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630120#comment-14630120 ] 

Apache Spark commented on SPARK-9115:
-------------------------------------

User 'tarekauel' has created a pull request for this issue:
https://github.com/apache/spark/pull/6981

> date/time function: dayInYear
> -----------------------------
>
>                 Key: SPARK-9115
>                 URL: https://issues.apache.org/jira/browse/SPARK-9115
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Tarek Auel
>
> dayInyear(date): Int
> Returns the number of the day in the year of a given date.
> e.g. dayInYear("2015-01-01") == 1, dayInYear("2015-12-31") == 365



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org