spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davies <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-8186][SPARK-8187][SPARK-8194][SPARK-819...
Date Wed, 29 Jul 2015 18:39:58 GMT
GitHub user davies opened a pull request:

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

    [SPARK-8186][SPARK-8187][SPARK-8194][SPARK-8198][SPARK-9133] [SQL] functions: date_add,
date_sub, add_months, months_between, time-interval calculation

    This PR is based on #7589 , thanks to @adrian-wang 
    
    Added SQL function date_add, date_sub, add_months, month_between, also add a rule for
    add/subtract of date/timestamp and interval.
    
    Closes #7589 
    
    cc @rxin 

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

    $ git pull https://github.com/davies/spark date_add

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

    https://github.com/apache/spark/pull/7754.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 #7754
    
----
commit c50666195d43fa652ea1cb8a7eef3d1fb3504659
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-22T07:04:53Z

    function date_add , date_sub

commit 1a68e0334caee8c2fff822261fd728bd6209b4b6
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-22T14:28:58Z

    poc of time interval calculation

commit 87c4b77cd9eb84edefe85efeb048b611eb6ee9b6
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-24T17:03:33Z

    function add_months, months_between and some fixes

commit 42df486c0b155ac2ec5dce8bfb45a841f3eef778
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-24T17:25:46Z

    fix style

commit e8a639aac79e945bdf2a52decc905360adfd625f
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-24T18:31:05Z

    fix

commit 522e91ab3e60f59cca7d8f783dd7284515e57238
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Date:   2015-07-27T05:41:58Z

    fix

commit 01943d09f4c8ba683feca3c5bfda0c998f6b5960
Author: Davies Liu <davies@databricks.com>
Date:   2015-07-29T05:59:30Z

    Merge branch 'master' into date_add
    
    Conflicts:
    	sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
    	sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala
    	sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/DateExpressionsSuite.scala
    	sql/core/src/main/scala/org/apache/spark/sql/functions.scala
    	sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala

commit 989b5b993ea3b55ab46e187b871dba2b410f6a88
Author: Davies Liu <davies@databricks.com>
Date:   2015-07-29T18:36:24Z

    add python api, fix date functions

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message