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

"Select" query with "IN" restriction times out in CQLSH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 rc1
    • None
    • Normal

    Description

      I've noticed that pylib.cqlshlib.test.test_cqlsh_output.TestCqlshOutput#test_numeric_output tests fails on the current 2.1 branch, which wasn't the case before.

      Here are the steps to reproduce. I'm attaching the script to populate schema.

      mstepura-mac:cassandra mikhail$ bin/cqlsh -f <path_to>/init_bug.cql
      mstepura-mac:cassandra mikhail$ bin/cqlsh
      Connected to Test Cluster at 127.0.0.1:9042.
      [cqlsh 5.0.0 | Cassandra 2.1.0-beta2-SNAPSHOT | CQL spec 3.1.6 | Native protocol v2]
      Use HELP for help.
      cqlsh> use test;
      cqlsh:test> select intcol, bigintcol, varintcol from has_all_types where num in (0, 1, 2, 3, 4);
      errors={}, last_host=127.0.0.1
      cqlsh:test>
      

      That works perfectly on 2.0 branch. And there are no errors in the logs.

      Attachments

        1. 7196.txt
          0.8 kB
          T Jake Luciani
        2. 7196-v2.txt
          0.7 kB
          T Jake Luciani
        3. 7196-v3.txt
          0.6 kB
          T Jake Luciani
        4. init_bug.cql
          3 kB
          Mikhail Stepura

        Activity

          People

            tjake T Jake Luciani
            mishail Mikhail Stepura
            T Jake Luciani
            Mikhail Stepura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: