[ 
https://issues.apache.org/jira/browse/CASSANDRA-7196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993425#comment-13993425
 ] 

Mikhail Stepura commented on CASSANDRA-7196:
--------------------------------------------

Expected result, just in case. Notice the last row contains only empty "cells"
{code}
cqlsh:test> select intcol, bigintcol, varintcol from has_all_types where num in 
(0, 1, 2, 3, 4);

 intcol      | bigintcol            | varintcol
-------------+----------------------+-----------------------------
         -12 |  1234567890123456789 |  10000000000000000000000000
  2147483647 |  9223372036854775807 |                           9
           0 |                    0 |                           0
 -2147483648 | -9223372036854775808 | -10000000000000000000000000
             |                      |

(5 rows)
{code}

> "Select" query with "IN" restriction times out in CQLSH
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7196
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7196
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mikhail Stepura
>            Assignee: T Jake Luciani
>              Labels: regression
>             Fix For: 2.1 rc1
>
>         Attachments: 7196-v2.txt, 7196-v3.txt, 7196.txt, init_bug.cql
>
>
> 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.
> {code}
> 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>
> {code}
> That works perfectly on 2.0 branch. And there are no errors in the logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to