You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "yucai (JIRA)" <ji...@apache.org> on 2018/04/09 06:26:00 UTC

[jira] [Commented] (SPARK-23905) Add UDF weekday

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

yucai commented on SPARK-23905:
-------------------------------

I can work on this.

> Add UDF weekday
> ---------------
>
>                 Key: SPARK-23905
>                 URL: https://issues.apache.org/jira/browse/SPARK-23905
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Priority: Major
>
> Returns the weekday index for _{{date}}_ ({{0}} = Monday, {{1}} = Tuesday, … {{6}} = Sunday). This is different from dayofweek, in which, the index is based on (1 = Sunday, 2 = Monday, ..., 7 = Saturday)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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