cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Cieslinski Cognitum (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5303) Executing SELECT which uses IN() function, on table with set<> column , returns 'Internal application error'.
Date Fri, 01 Mar 2013 16:59:15 GMT
Krzysztof Cieslinski Cognitum created CASSANDRA-5303:
--------------------------------------------------------

             Summary: Executing SELECT which uses IN() function, on table with set<>
column , returns 'Internal application error'. 
                 Key: CASSANDRA-5303
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5303
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.2
            Reporter: Krzysztof Cieslinski Cognitum
            Priority: Minor


For the following table:
{code}CREATE TABLE "Tweets"(
tweet_id uuid,
idx int, 
exampleset set<text>,
PRIMARY KEY(tweet_id,idx));{code}

This query:
{code}SELECT idx,tweet_id FROM "Tweets" WHERE idx IN (0, 1, 2) ALLOW FILTERING;{code}

Returns:
_'Internal application error'_

Comment:
This error won't occur if insted of "IN (0, 1, 2)" we will use "IN (0)" (in select query).


Comment2:
This error won't occur if we will create table as above, but without set<> column.

 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message