cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamila Wijayarathna <cdwijayarat...@gmail.com>
Subject java.lang.AssertionError in cqlsh
Date Thu, 11 Dec 2014 12:37:17 GMT
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