[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-4164: --- Attachment: 4164-fix.patch.txt One-line fix for that attached. Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.1 Attachments: 4164-fix.patch.txt, 4164.patch-2.txt There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-4164: --- Attachment: (was: 4164.patch.txt) Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.1 Attachments: 4164.patch-2.txt There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-4164: --- Attachment: 4164.patch-2.txt Thanks, Sylvain. Branch is updated; new tag is here: https://github.com/thepaul/cassandra/tree/pending/4164-2 New comprehensive patch attached. Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.1 Attachments: 4164.patch-2.txt There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-4164: --- Attachment: 4164.patch.txt teach cqlsh how to understand system.schema_columnfamilies so that it can get information on composite primary key tables. patch attached, or, as usual, in my 4164 branch on my github. tagged here: https://github.com/thepaul/cassandra/tree/pending/4164 Note that this still won't work for describing composite CFs in the system keyspace; system CFs don't show up in schema_columnfamilies, and there's no other way to get key-component column info. Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.1 Attachments: 4164.patch.txt There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4164: -- Reviewer: brandon.williams Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.1 Attachments: 4164.patch.txt There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-4164: --- Labels: cql3 (was: ) Summary: Cqlsh should support DESCRIBE on cql3-style composite CFs (was: Bug with 'describe columnfamily' in cql(sh?)) Cqlsh should support DESCRIBE on cql3-style composite CFs - Key: CASSANDRA-4164 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.0 Reporter: Nick Bailey Assignee: paul cannon Labels: cql3 Fix For: 1.1.0 There is a discrepancy between create column family commands and then the output of the describe command: {noformat} cqlsh:test CREATE TABLE timeline ( ... user_id varchar, ... tweet_id uuid, ... author varchar, ... body varchar, ... PRIMARY KEY (user_id, tweet_id) ... ); cqlsh:test describe columnfamily timeline; CREATE COLUMNFAMILY timeline ( user_id text PRIMARY KEY ) WITH comment='' AND comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' AND read_repair_chance=0.10 AND gc_grace_seconds=864000 AND default_validation=text 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='org.apache.cassandra.io.compress.SnappyCompressor'; {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira