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

Benjamin Lerer commented on CASSANDRA-11936:
--------------------------------------------

The patch add support for:
* {{date}} + {{duration}} 
* {{date}} - {{duration}} 
* {{timestamp}} + {{duration}} 
* {{timestamp}} - {{duration}} 

|[branch|https://github.com/apache/cassandra/compare/cassandra-3.X...blerer:11936-3.X]|[utests|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-11936-3.X-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-11936-3.X-dtest/]|

> Add support for + and - operations on dates
> -------------------------------------------
>
>                 Key: CASSANDRA-11936
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11936
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: CQL
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>             Fix For: 3.x
>
>
> For time series it can be interesting to allow queries with {{WHERE}} clause 
> like: {{... WHERE reading_time < now() - 2h}}
> In order to do that we need to add support for: {{+}} and {{-}} operation 
> with date.



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

Reply via email to