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

Multiple non-DISTINCT rows returned when page_size set

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
    • 2.0.12
    • None
    • Low

    Description

      Using the following statements to reproduce:

      CREATE TABLE test (
                      k int,
                      p int,
                      s int static,
                      PRIMARY KEY (k, p)
                  );
      INSERT INTO test (k, p) VALUES (1, 1);
      INSERT INTO test (k, p) VALUES (1, 2);
      SELECT DISTINCT k, s FROM test ;
      

      Native clients that set result_page_size in the query message receive multiple non-distinct rows back (one per clustered value p in row k).

      This is only reproduced on 2.0.10. Does not appear in 2.1.0

      It does not appear in cqlsh for 2.0.10 because thrift.

      See https://datastax-oss.atlassian.net/browse/PYTHON-164 for background

      Attachments

        Issue Links

        Activity

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

          People

            thobbs Tom Hobbs Assign to me
            aholmber Adam Holmberg
            Tom Hobbs
            Sylvain Lebresne
            Philip Thompson Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment