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 B157C1101D for ; Fri, 5 Sep 2014 20:45:30 +0000 (UTC) Received: (qmail 43097 invoked by uid 500); 5 Sep 2014 20:45:30 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43068 invoked by uid 500); 5 Sep 2014 20:45:30 -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 43051 invoked by uid 99); 5 Sep 2014 20:45:30 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 20:45:30 +0000 Date: Fri, 5 Sep 2014 20:45:30 +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=14123545#comment-14123545 ] Aleksey Yeschenko commented on CASSANDRA-7514: ---------------------------------------------- Ah. Yes, that can happen. Set page size to 25 and try to select all from system.schemacolumns, for example. > 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.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)