Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4907

Cassandra cli doesn't recognize non-compact storage column families

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      To reproduce, go to 'cqlsh -3' and enter:

      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)
          );
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jeromatron Jeremy Hanna
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: