You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/01/07 10:09:34 UTC

[jira] [Commented] (SPARK-5129) make SqlContext support "select date +/- XX DAYS from table"

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

Apache Spark commented on SPARK-5129:
-------------------------------------

User 'DoingDone9' has created a pull request for this issue:
https://github.com/apache/spark/pull/3931

> make SqlContext support "select date +/- XX DAYS from table"  
> --------------------------------------------------------------
>
>                 Key: SPARK-5129
>                 URL: https://issues.apache.org/jira/browse/SPARK-5129
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: DoingDone9
>            Priority: Minor
>
> Example :
> create table test (date: Date)
> 2014-01-01
> 2014-01-02
> 2014-01-03
> when  running "select date + 10 DAYS from test", i want get
> 2014-01-11 
> 2014-01-12
> 2014-01-13
> and running "select date - 10 DAYS from test",  get
> 2013-12-22
> 2013-12-23
> 2013-12-24



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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