Cassandra
  1. Cassandra
  2. CASSANDRA-3761 CQL 3.0
  3. CASSANDRA-4217

Easy access to column timestamps (and maybe ttl) during queries

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.2
    • Component/s: API
    • Labels:

      Description

      It would be interesting to allow accessing the timestamp/ttl of a column though some syntax like

      SELECT key, value, timestamp(value) FROM foo;
      

      and the same for ttl.

      I'll note that currently timestamp and ttl are returned in the resultset because it includes thrift Column object, but adding such syntax would make our future protocol potentially simpler as we wouldn't then have to care about timestamps explicitely (and more compact in general as we would only return timestamps when asked)

      1. 4217.txt
        20 kB
        Sylvain Lebresne

        Activity

        Sylvain Lebresne created issue -
        Sylvain Lebresne made changes -
        Field Original Value New Value
        Fix Version/s 1.1.1 [ 12319857 ]
        Sylvain Lebresne made changes -
        Attachment 4217.txt [ 12525634 ]
        Jonathan Ellis made changes -
        Reviewer xedin
        Jonathan Ellis made changes -
        Fix Version/s 1.1.2 [ 12321445 ]
        Fix Version/s 1.1.1 [ 12319857 ]
        Sylvain Lebresne made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Sylvain Lebresne made changes -
        Attachment 4217.txt [ 12525634 ]
        Sylvain Lebresne made changes -
        Attachment 4217.txt [ 12528746 ]
        Pavel Yaskevich made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12665309 ] patch-available, re-open possible [ 12749649 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12749649 ] reopen-resolved, no closed status, patch-avail, testing [ 12754347 ]

          People

          • Assignee:
            Sylvain Lebresne
            Reporter:
            Sylvain Lebresne
            Reviewer:
            Pavel Yaskevich
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development