[
https://issues.apache.org/jira/browse/SPARK-22456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240331#comment-16240331
]
Michael Styles commented on SPARK-22456:
----------------------------------------
This functionality is part of the SQL standard and supported by a number of
relational database systems including Oracle, DB2, SQL Server, MySQL, and
Teradata, to name a few.
> Add new function dayofweek
> --------------------------
>
> Key: SPARK-22456
> URL: https://issues.apache.org/jira/browse/SPARK-22456
> Project: Spark
> Issue Type: New Feature
> Components: PySpark, SQL
> Affects Versions: 2.2.0
> Reporter: Michael Styles
>
> Add new function *dayofweek* to return the day of the week of the given
> argument as an integer value in the range 1-7, where 1 represents Sunday.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]