Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3957311BD9 for ; Mon, 8 Sep 2014 02:49:29 +0000 (UTC) Received: (qmail 43526 invoked by uid 500); 8 Sep 2014 02:49:29 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43485 invoked by uid 500); 8 Sep 2014 02:49:29 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 43473 invoked by uid 99); 8 Sep 2014 02:49:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2014 02:49:29 +0000 Date: Mon, 8 Sep 2014 02:49:28 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7514) Support paging in cqlsh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125168#comment-14125168 ] Aleksey Yeschenko commented on CASSANDRA-7514: ---------------------------------------------- v2 LGTM, +1 > Support paging in cqlsh > ----------------------- > > Key: CASSANDRA-7514 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7514 > Project: Cassandra > Issue Type: Improvement > Reporter: Sylvain Lebresne > Assignee: Mikhail Stepura > Priority: Minor > Labels: cqlsh > Fix For: 2.1.1 > > Attachments: CASSANDRA-2.1-7514-v2.patch, CASSANDRA-2.1-7514.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)