[
https://issues.apache.org/jira/browse/CASSANDRA-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766866#comment-13766866
]
Aleksey Yeschenko commented on CASSANDRA-6009:
----------------------------------------------
All right, this is legit. Fortunately, it's not a schema/migration issue. It's
just cqlsh assuming a little too much. system.schema_columns doesn't have the
values for clustering columns and partition key columns, if the tables are from
pre-2.0 era.
DESCRIBE works fine with anything created in 2.0+, though.
Will fix.
> can not get table info properly at cqlsh
> ----------------------------------------
>
> Key: CASSANDRA-6009
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6009
> Project: Cassandra
> Issue Type: Bug
> Components: Core, Tools
> Environment: cassandra 2.0, jdk 7
> Reporter: koray sariteke
> Assignee: Aleksey Yeschenko
>
> upgrade cassandra from 1.2.6 to 1.2.9 first,
> then upgrade from 1.2.9 to 2.0.0 as documented at cassandra upgrade doc
> describe command is not giving table definition properly
> cqlsh:datadb> DESCRIBE KEYSPACE demoks ;
> CREATE KEYSPACE demoks WITH replication = {
> 'class': 'SimpleStrategy',
> 'replication_factor': '2'
> };
> USE demoks;
> CREATE TABLE demodb (
> description text,
> symbol text,
> list index out of range
> PRIMARY KEY (cqlsh:datadb>
--
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