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

Allow range deletions in CQL

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            blerer Benjamin Lerer Assign to me
            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:

              Slack

                Issue deployment