Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5616

CQL now() on prepared statements is evaluated at prepare time and not query execution time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.6
    • Legacy/CQL
    • Normal

    Description

      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.

      Attachments

        1. 5616.txt
          3 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            mpenet Max Penet
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: