[
https://issues.apache.org/jira/browse/CASSANDRA-5101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543113#comment-13543113
]
Michael Kjellman commented on CASSANDRA-5101:
---------------------------------------------
Those fail for me.
{code:title="CQL3"}
[cqlsh 2.3.0 | Cassandra 1.2.0 | CQL spec 3.0.0 | Thrift protocol 19.35.0]
Use HELP for help.
cqlsh> describe schema
CREATE KEYSPACE evidence WITH replication = {
'class': 'NetworkTopologyStrategy',
'DC2': '0',
'DC1': '2'
};
USE evidence;
expected string or buffer
cqlsh>
{code}
{code:title="CQL2"}
[cqlsh 2.3.0 | Cassandra 0.0.0 | CQL spec 2.0.0 | Thrift protocol 19.35.0]
Use HELP for help.
cqlsh> describe schema
CREATE KEYSPACE evidence WITH strategy_class = 'NetworkTopologyStrategy'
AND strategy_options:DC2 = '0'
AND strategy_options:DC1 = '2';
USE evidence;
CREATE TABLE fingerprints (
KEY blob PRIMARY KEY
) WITH
comment='' AND
comparator=blob AND
read_repair_chance=0.100000 AND
gc_grace_seconds=172800 AND
default_validation=blob AND
min_compaction_threshold=4 AND
max_compaction_threshold=32 AND
replicate_on_write='true' AND
compaction_strategy_class='SizeTieredCompactionStrategy' AND
compression_parameters:sstable_compression='SnappyCompressor';
...and the rest of the schema...
{code}
> describe commands fail in cql3 when previously created with cql2
> ----------------------------------------------------------------
>
> Key: CASSANDRA-5101
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5101
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Michael Kjellman
> Assignee: Aleksey Yeschenko
>
> column families and keyspaces created with cassandra-cli/cql2 cannot be
> described with cql3
> describe table cfname fails with: "expected string or buffer"
> describe schema fails with "expected string or buffer" as well
--
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