[ https://issues.apache.org/jira/browse/SPARK-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027680#comment-16027680 ]
Apache Spark commented on SPARK-8184: ------------------------------------- User 'wangyum' has created a pull request for this issue: https://github.com/apache/spark/pull/18132 > date/time function: weekofyear > ------------------------------ > > Key: SPARK-8184 > URL: https://issues.apache.org/jira/browse/SPARK-8184 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Tarek Auel > Fix For: 1.5.0 > > > weekofyear(string|date|timestamp): int > Returns the week number of a timestamp string: weekofyear("1970-11-01 > 00:00:00") = 44, weekofyear("1970-11-01") = 44. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org