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

duplicate rows returned from SELECT where KEY term is duplicated

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.3
    • None
    • Low

    Description

      Noticed while working on CASSANDRA-2268 when random keys generated during a mutli_get test contain duplicate keys.

      The thrift multiget_slice() returns only the unique rows because of the map generated for the result.

      CQL will return a row for each KEY term in the SELECT.

      I could make QueryProcessor.getSlice() only create commands for the unique keys if we wanted to.

      Not sure it's a bug and it's definitely not something that should come up to often, reporting it because it's different to the thrift mutli_get operation.

      Happy to close if it's by design.

      Attachments

        Activity

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

          People

            jancona James P. Ancona Assign to me
            amorton Aaron Morton
            James P. Ancona
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment