cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5616) CQL now() on prepared statements is evaluated at prepare time and not query execution time
Date Wed, 05 Jun 2013 16:17:20 GMT

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

Aleksey Yeschenko updated CASSANDRA-5616:
-----------------------------------------

    Reviewer: iamaleksey
    
> CQL now() on prepared statements is evaluated at prepare time and not query execution
time
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5616
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5616
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.0
>            Reporter: Max Penet
>            Assignee: Sylvain Lebresne
>              Labels: cql3
>             Fix For: 1.2.6
>
>         Attachments: 5616.txt
>
>
> insert into some_table (id,time) values (?,now())
> On the example above now() will always have the same value, it should probably be evaluated
at "query" time and not at prepare time. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message