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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.6
    • Legacy/Tools
    • None
    • 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)

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            ruivieira Rui Vieira
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment