[ 
https://issues.apache.org/jira/browse/CASSANDRA-5101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543073#comment-13543073
 ] 

Michael Kjellman commented on CASSANDRA-5101:
---------------------------------------------

cassandra-cli create statement examples. let me know if you need more:

create keyspace evidence with strategy_class = NetworkTopologyStrategy AND 
strategy_options:DC1 = 2;
create column family messages with key_validation_class = BytesType AND 
comparator = BytesType AND 
compression_options={sstable_compression:SnappyCompressor, chunk_length_kb:64} 
AND bloom_filter_fp_chance = 0.5 and compaction_strategy = 
SizeTieredCompactionStrategy;

__

create column family domain_metadata_history with key_validation_class = 
UTF8Type AND default_validation_class = UTF8Type AND comparator = 
'CompositeType(UTF8Type, UTF8Type, IntegerType)' AND compression_options = 
{sstable_compression:SnappyCompressor, chunk_length_kb:64} WITH 
compaction_strategy=LeveledCompactionStrategy AND 
compaction_strategy_options={sstable_size_in_mb: 100};
                
> 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

Reply via email to