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

Typo in error message in cqlsh (CQL3) when using more than one relation with a IN

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.6
    • Component/s: Legacy/Tools
    • Labels:
      None
    • Environment:

      Linux 3.8.0-25-generic #37-Ubuntu 13.04 SMP
      [cqlsh 3.0.2 | Cassandra 1.2.5-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.36.0] (installed via ccm)

    • Severity:
      Low

      Description

      When performing a query such as

      select * from foo where bucket in (1) and id in ('O1', 'O2') and bucket in (2) and id in ('O3', 'O4') ;

      the error message in cqlsh is:

      Bad Request: bucket cannot be restricted by more than one reation if it includes a IN

      Expected:

      Bad Request: bucket cannot be restricted by more than one relation if it includes a IN

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ruivieira Rui Vieira
              Reviewers:
              David Brosius
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: