GitHub user tarekauel reopened a pull request:

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

    
[SPARK-8199][SPARK-8184][SPARK-8183][SPARK-8182][SPARK-8181][SPARK-8180][SPARK-8179][SPARK-8177][SPARK-8178][SQL]
 date functions

    Jira:
    https://issues.apache.org/jira/browse/SPARK-8199
    https://issues.apache.org/jira/browse/SPARK-8184
    https://issues.apache.org/jira/browse/SPARK-8183
    https://issues.apache.org/jira/browse/SPARK-8182
    https://issues.apache.org/jira/browse/SPARK-8181
    https://issues.apache.org/jira/browse/SPARK-8180
    https://issues.apache.org/jira/browse/SPARK-8179
    https://issues.apache.org/jira/browse/SPARK-8177
    https://issues.apache.org/jira/browse/SPARK-8179
    
    Regarding `day`and `dayofmonth` are both necessary?
    
    ~~I am going to add `Quarter` to this PR as well.~~ Done.
    
    ~~As soon as the Scala coding is reviewed and discussed, I'll add the 
python api.~~ Done

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

    $ git pull https://github.com/tarekauel/spark SPARK-8199

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

    https://github.com/apache/spark/pull/6981.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 #6981
    
----
commit d0e2f995ae7a0732c7ea4e6437a246884184fb18
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T08:33:03Z

    date functions

commit 5ebb2358465abf65b9383bff26947aed06e815b5
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T09:55:33Z

    resolved naming conflict
    
    fixed test cases
    
    dataframe test issues:
    - dateformat with date string is null
    - hours, minutes, seconds is zero for timestamp

commit 4d8049bc79e41622a72e511065645db98708f3c9
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T16:41:17Z

    fixed tests and added type check

commit 638596f3fd90faa0c0c90d5a0932d5adc3b515d2
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T17:11:23Z

    improved codegen

commit 849fb4168982d2138c09b530b76d288e3c340df7
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T17:13:35Z

    fixed stupid test

commit c7397880b3167ecc2130da8f1c4ff7e413c60877
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T17:41:49Z

    added support for quarter SPARK-8178

commit b680db6269f7097f282a6fafe67d33da7ede7f71
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T18:46:05Z

    added codegeneration to all functions

commit a5ea1206b833b3e9680f083fce382842ec1bb485
Author: Tarek Auel <[email protected]>
Date:   2015-06-24T22:03:01Z

    added python api; changed test to be more meaningful

commit 02efc5da64d3f95024b860e50a4648d989496c9f
Author: Tarek Auel <[email protected]>
Date:   2015-06-26T23:01:49Z

    removed doubled code

commit 356df788e62dcc38a058a7f56c8a8a6498289efc
Author: Tarek Auel <[email protected]>
Date:   2015-06-29T02:32:41Z

    rely on cast mechanism of Spark. Simplified implementation

commit 3bfac90e8ea986c16a871bfffa5d4fa58e9dd774
Author: Tarek Auel <[email protected]>
Date:   2015-06-29T04:29:46Z

    fixed style

commit 5fe74e178097ac4c98ebc4ca50d842f00bbe157e
Author: Tarek Auel <[email protected]>
Date:   2015-06-29T04:51:01Z

    fixed python style

commit a8edebde1d62499ea35c5e0e71b7bc92526a369f
Author: Tarek Auel <[email protected]>
Date:   2015-06-29T23:37:44Z

    use Calendar instead of SimpleDateFormat

commit f1204154aaa96d93fd9ef723a91b7a91ba1d3773
Author: Tarek Auel <[email protected]>
Date:   2015-06-30T04:24:28Z

    improved runtime

commit eb6760db8f34dd3a550372dfa753184f03a43662
Author: Tarek Auel <[email protected]>
Date:   2015-07-04T07:53:18Z

    Merge branch 'master' into SPARK-8199
    
    # Conflicts:
    #   
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
    #   
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala

commit 5a105d90cf7e8535593add6a52372fe48b2c633d
Author: Tarek Auel <[email protected]>
Date:   2015-07-04T08:13:01Z

    [SPARK-8199] rebase after #6985 got merged

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to