You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (JIRA)" <ji...@apache.org> on 2015/07/28 12:21:05 UTC

[jira] [Created] (CASSANDRA-9907) Select from compact storage table with no data in cqlsh shows incorrect columns on trunk

Mike Adamson created CASSANDRA-9907:
---------------------------------------

             Summary: Select from compact storage table with no data in cqlsh shows incorrect columns on trunk
                 Key: CASSANDRA-9907
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9907
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Mike Adamson
             Fix For: 3.0.0 rc1


The following shows the problem:
{noformat}
[cqlsh 5.0.1 | Cassandra 3.0.0-SNAPSHOT | CQL spec 3.3.0 | Native protocol v4]
Use HELP for help.
cqlsh> create keyspace test with replication = { 'class' : 'SimpleStrategy', 'replication_factor' : '1' };
cqlsh> use test;
cqlsh:test> create table test (k int, v int, primary key(k)) with compact storage;
cqlsh:test> select * from test;

 column1 | k | v | value
---------+---+---+-------

(0 rows)
cqlsh:test> insert into test (k, v) values (1,1);
cqlsh:test> select * from test;

 k | v
---+---
 1 | 1

(1 rows)
cqlsh:test> 

{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)