GitHub user ptkool opened a pull request:

    https://github.com/apache/spark/pull/19672

    [SPARK-22456] Add support for dayofweek function

    ## What changes were proposed in this pull request?
    This PR adds support for a new function called `dayofweek` that returns the 
day of the week of the given argument as an integer value in the range 1-7, 
where 1 represents Sunday.
    
    ## How was this patch tested?
    Unit tests and manual tests.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ptkool/spark day_of_week_function

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19672.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19672
    
----

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to