You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2015/07/28 13:31:04 UTC
[jira] [Resolved] (CASSANDRA-9907) Select from compact storage
table with no data in cqlsh shows incorrect columns on trunk
[ https://issues.apache.org/jira/browse/CASSANDRA-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Yeschenko resolved CASSANDRA-9907.
------------------------------------------
Resolution: Duplicate
Fix Version/s: (was: 3.0.0 rc1)
This one is a duplicate of CASSANDRA-9813 (and is a cqlsh issue).
> 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
>
> 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)