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

Support paging in cqlsh

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:

      Description

      Once we've switch cqlsh to use the python driver 2.x (CASSANDRA-7506), we should also make it use paging. Currently cqlsh adds an implicit limit which is kind of ugly. Instead we should use some reasonably small page size (100 is probably fine) and display one page at a time, adding some "NEXT" command to query/display following pages.

        Attachments

        1. CASSANDRA-2.1-7514.patch
          11 kB
          Mikhail Stepura
        2. CASSANDRA-2.1-7514-v2.patch
          12 kB
          Mikhail Stepura

          Issue Links

            Activity

              People

              • Assignee:
                mishail Mikhail Stepura
                Reporter:
                slebresne Sylvain Lebresne
                Authors:
                Mikhail Stepura
                Reviewers:
                Aleksey Yeschenko
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: