[ 
https://issues.apache.org/jira/browse/SPARK-5129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-5129:
-----------------------------
    Component/s: SQL

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

Reply via email to