cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9813) Surrogate columns are being exposed via CQL for compact static tables
Date Wed, 15 Jul 2015 13:51:05 GMT
Aleksey Yeschenko created CASSANDRA-9813:
--------------------------------------------

             Summary: Surrogate columns are being exposed via CQL for compact static tables
                 Key: CASSANDRA-9813
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9813
             Project: Cassandra
          Issue Type: Bug
            Reporter: Aleksey Yeschenko
            Assignee: Sylvain Lebresne
             Fix For: 3.0 beta 1


Upon migration, we internally create a pair of surrogate clustering/regular columns for compact
static tables. These shouldn't be exposed to the user.

That is, for the table
{code}
CREATE TABLE bar (k int, c int, PRIMARY KEY (k)) WITH COMPACT STORAGE;
{code}

{{SELECT * FROM bar}} should not be returning this result set:

{code}
cqlsh:test> select * from bar;

 c | column1 | k | value
---+---------+---+-------

(0 rows)
{code}

Should only contain the defined {{c}} and {{k}} columns.



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

Mime
View raw message