cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8899) cqlsh - not able to get row count with select(*) for large table
Date Mon, 20 Apr 2015 22:53:58 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503876#comment-14503876
] 

Jeff Liu commented on CASSANDRA-8899:
-------------------------------------

Yes, [~blerer]. The problem is worked around by increasing timeout value.

> cqlsh - not able to get row count with select(*) for large table
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-8899
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8899
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 2.1.2 ubuntu12.04
>            Reporter: Jeff Liu
>            Assignee: Benjamin Lerer
>
>  I'm getting errors when running a query that looks at a large number of rows.
> {noformat}
> cqlsh:events> select count(*) from catalog;
>  count
> -------
>  10000
> (1 rows)
> cqlsh:events> select count(*) from catalog limit 11000;
>  count
> -------
>  11000
> (1 rows)
> cqlsh:events> select count(*) from catalog limit 50000;
> errors={}, last_host=127.0.0.1
> cqlsh:events> 
> {noformat}
> We are not able to make the select * query to get row count.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message