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

CQL3 doesn't allow static CF definition with compact storage in C* 1.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.7
    • Component/s: None
    • Labels:
      None

      Description

      In Cassandra 1.1, the following CQL3 definition:

      CREATE TABLE user_profiles (
          user_id text PRIMARY KEY,
          first_name text,
          last_name text,
          year_of_birth int
      ) WITH COMPACT STORAGE;
      

      yields:

      Bad Request: COMPACT STORAGE requires at least one column part of the clustering key, none found
      

      This works fine in 1.2 however.

        Attachments

        1. 4910.txt
          2 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: