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

cqlsh row_id resets on page boundaries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-beta4
    • Component/s: Tool/cqlsh
    • Labels:
      None

      Description

      When you run a query such as

      expand on; 
      select * from table_with_clustering_keys where token(partition_key) = 1192326969048244361;
      

      We print out a header for each row that looks like the following

      @ Row 1

      In 3.0 all values printed were uniq, but in 4.0 they are no longer unique

      $ grep Row 3.0-rows.results | sort | uniq -c | sort -k1 -h -r | head -n 10
        1 @ Row 999
        1 @ Row 998
        1 @ Row 997
        1 @ Row 996
        1 @ Row 995
        1 @ Row 994
        1 @ Row 993
        1 @ Row 992
        1 @ Row 991
        1 @ Row 990
      
      $ grep Row 4.0-rows.results | sort | uniq -c | sort -k1 -h -r | head -n 10
       10 @ Row 9
       10 @ Row 8
       10 @ Row 7
       10 @ Row 6
       10 @ Row 5
       10 @ Row 48
       10 @ Row 47
       10 @ Row 46
       10 @ Row 45
       10 @ Row 44
      

        Attachments

          Activity

            People

            • Assignee:
              aholmber Adam Holmberg
              Reporter:
              dcapwell David Capwell
              Authors:
              Adam Holmberg
              Reviewers:
              Brandon Williams, David Capwell
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: