You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2012/06/09 01:34:23 UTC

[jira] [Resolved] (CASSANDRA-4319) ex msg for cql3 order by constraints says primary filter can be an IN clause which is misleading

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

Dave Brosius resolved CASSANDRA-4319.
-------------------------------------

    Resolution: Fixed
    
> ex msg for cql3 order by constraints says primary filter can be an IN clause which is misleading 
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4319
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4319
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.1.2
>
>         Attachments: better_order_restriction_error_msg.txt
>
>
> select * from visitor_audit where visitor_id in ('1_172892701', '1_316755431') order by audit_id desc limit 6;
> gives error
> Bad Request: Ordering is only supported is the first part of the PRIMARY KEY is restricted by an Equal or a IN
> which seems to be what the query is doing. 
> But it only supports Equal, fix error message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira