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

Allow range deletions in CQL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0 beta 2
    • Legacy/CQL

    Description

      We uses RangeTombstones internally in a number of places, but we could expose more directly too. Typically, given a table like:

      CREATE TABLE events (
          id text,
          created_at timestamp,
          content text,
          PRIMARY KEY (id, created_at)
      )
      

      we could allow queries like:

      DELETE FROM events WHERE id='someEvent' AND created_at < 'Jan 3, 2013';
      

      Attachments

        1. CASSANDRA-6237.txt
          57 kB
          Benjamin Lerer

        Issue Links

          Activity

            People

              blerer Benjamin Lerer
              slebresne Sylvain Lebresne
              Benjamin Lerer
              Joshua McKenzie
              Jim Witschey Jim Witschey
              Votes:
              17 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: