[
https://issues.apache.org/jira/browse/CASSANDRA-7625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McGuire reassigned CASSANDRA-7625:
---------------------------------------
Assignee: Tyler Hobbs
> 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
>
> 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)