Xiao Li created SPARK-23905:
-------------------------------

             Summary: 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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to