You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Max Penet (JIRA)" <ji...@apache.org> on 2013/06/05 14:11:20 UTC

[jira] [Created] (CASSANDRA-5616) CQL now() on prepared statements is evaluated at prepare time and not query execution time

Max Penet created CASSANDRA-5616:
------------------------------------

             Summary: 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: Core
    Affects Versions: 1.2.0
            Reporter: Max Penet


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