Uploaded image for project: '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
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.2
    • Component/s: CQL
    • 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)

        Attachments

        1. 4217.txt
          20 kB
          Sylvain Lebresne

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: