Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-4319

ex msg for cql3 order by constraints says primary filter can be an IN clause which is misleading

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            dbrosius@apache.org Dave Brosius
            dbrosius@apache.org Dave Brosius
            Dave Brosius
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: