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 6E59B10B59 for ; Thu, 19 Dec 2013 17:03:21 +0000 (UTC) Received: (qmail 2772 invoked by uid 500); 19 Dec 2013 17:02:10 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 2726 invoked by uid 500); 19 Dec 2013 17:02:09 -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 2703 invoked by uid 99); 19 Dec 2013 17:02:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 17:02:07 +0000 Date: Thu, 19 Dec 2013 17:02:07 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-6511) extend LIMIT to define offset, row_count 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-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-6511. --------------------------------------- Resolution: Won't Fix OFFSET is inherently O(n) in the number of columns skipped. > extend LIMIT to define offset, row_count > ---------------------------------------- > > Key: CASSANDRA-6511 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6511 > Project: Cassandra > Issue Type: New Feature > Reporter: Pardeep Singh > Labels: cql3, query > > Currently I can to do: > SELECT * FROM top_posts WHERE id="music" LIMIT 10; > If it was possible to extend the LIMIT clause to: > [LIMIT {[offset,] row_count | row_count OFFSET offset}] > SELECT * FROM top_posts WHERE id="music" LIMIT 10, 10; > Pagination will be possible without using clustering key with less than or greater than. -- This message was sent by Atlassian JIRA (v6.1.4#6159)