cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Thompson <philip.thomp...@datastax.com>
Subject Re: java.lang.AssertionError in cqlsh
Date Thu, 11 Dec 2014 13:13:17 GMT
There is a definitely a problem here, but without the entire stack trace,
it is unclear what exactly may be wrong.

On Thu, Dec 11, 2014 at 7:37 AM, Chamila Wijayarathna <
cdwijayarathna@gmail.com> wrote:

> Hello all,
>
> I have a column family with following schema.
>
> CREATE TABLE corpus.trigram_category_ordered_frequency (
>     id bigint,
>     word1 varchar,
>     word2 varchar,
>     word3 varchar,
>     category varchar,
>     frequency int,
>     PRIMARY KEY(category,frequency,word1,word2,word3)
> );
>
> When I run
>
>  select word1,word2,word3 from corpus.trigram_category_ordered_frequency
> where category IN ('N','A','C','S','G') order by frequency DESC LIMIT 10;
>
> I am getting error saying
>
> <ErrorMessage code=0000 [Server error] message="java.lang.AssertionError">
>
> But when I ran
>
> select * from corpus.trigram_category_ordered_frequency where category IN
> ('N','A','C','S','G') order by frequency DESC LIMIT 10;
>
> it works without any error.
>
> Is this a bug or what is wrong here?
>
> Thank You!
>
> --
> *Chamila Dilshan Wijayarathna,*
> SMIEEE, SMIESL,
> Undergraduate,
> Department of Computer Science and Engineering,
> University of Moratuwa.
>

Mime
View raw message