You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2014/07/26 01:16:39 UTC
[jira] [Commented] (CASSANDRA-7625) cqlsh not paging results
[ https://issues.apache.org/jira/browse/CASSANDRA-7625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075120#comment-14075120 ]
Aleksey Yeschenko commented on CASSANDRA-7625:
----------------------------------------------
+1 (we have CASSANDRA-7514 open for paging in cqlsh).
> cqlsh not paging results
> ------------------------
>
> Key: CASSANDRA-7625
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7625
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Ryan McGuire
> Assignee: Tyler Hobbs
> Fix For: 2.1.0
>
> Attachments: 7625.txt
>
>
> If you try to make a selection of more data than can fit in a page, you'll get this error:
> {code}
> cqlsh> select * from "Keyspace1"."Standard1";
> 'PagedResult' object does not support indexing
> {code}
> With debugging on, I get this traceback:
> {code}
> Traceback (most recent call last):
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 822, in onecmd
> self.handle_statement(st, statementtext)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 860, in handle_statement
> return custom_handler(parsed)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 890, in do_select
> self.perform_statement(statement, with_default_limit=with_default_limit)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 895, in perform_statement
> with_default_limit=with_default_limit)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 923, in perform_simple_statement
> self.print_result(rows, with_default_limit, cfMetaData)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 935, in print_result
> self.print_static_result(rows, cfMetaData)
> File "/home/automaton/fab/cassandra/bin/cqlsh", line 961, in print_static_result
> colnames = rows[0]._fields
> TypeError: 'PagedResult' object does not support indexing
> {code}
> Placing a limit on the query still works.
--
This message was sent by Atlassian JIRA
(v6.2#6252)