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)

Reply via email to