You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2012/11/04 03:57:12 UTC
[jira] [Commented] (CASSANDRA-4907) Cassandra cli doesn't recognize
non-compact storage column families
[ https://issues.apache.org/jira/browse/CASSANDRA-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490138#comment-13490138 ]
Dave Brosius commented on CASSANDRA-4907:
-----------------------------------------
even for simple cql-generated cf's that have a single primary key the cf has a componentIndex which makes it thrift incompatible.
> Cassandra cli doesn't recognize non-compact storage column families
> -------------------------------------------------------------------
>
> Key: CASSANDRA-4907
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4907
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0 beta 1
> Reporter: Jeremy Hanna
>
> To reproduce, go to 'cqlsh -3' and enter:
> {code}
> create keyspace foo with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
> use foo;
> CREATE TABLE clicks (
> user_id text,
> time timestamp,
> url text,
> PRIMARY KEY (user_id, time)
> ) WITH COMPACT STORAGE;
> CREATE TABLE comments (
> article_id uuid,
> posted_at timestamp,
> author text,
> karma int,
> content text,
> PRIMARY KEY (article_id, posted_at)
> );
> {code}
> Then go to the CLI and do 'show keyspaces;' and there will be the foo keyspace and the clicks column family but not the comments column family.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira