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.

Reply via email to