cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5303) Executing SELECT which uses IN() function, on table with set<> column , returns 'Internal application error'.
Date Tue, 09 Jul 2013 16:55:49 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne resolved CASSANDRA-5303.
-----------------------------------------

    Resolution: Cannot Reproduce

Sorry for not getting to this sooner. However, I don't seem to be able to reproduce this on
the current 1.2 (the query works and return the correct results). So I'm going to assume that
we've fixed that already since 1.2.2 (not sure which patch is likely to have fixed right of
the bat but there have been quite a few changes since 1.2.2).

If you still can reproduce on C* 1.2.6+, please feel free to reopen, but a complete repro
script for cqlsh would typically help.
                
> 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
>            Assignee: Sylvain Lebresne
>            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