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

compact storage metadata is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.2
    • Legacy/CQL
    • None
    • Normal

    Description

      cqlsh:foo> CREATE TABLE bar (
             ...     id int primary key,
             ...     i int
             ... ) WItH COMPACT STORAGE;
      
      cqlsh:foo> INSERT INTO bar (id, i) VALUES (1, 2);
      Bad Request: Missing PRIMARY KEY part column1
      Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
      
      cqlsh:foo> INSERT INTO bar (id, column1) VALUES (1, 2);
      Bad Request: Missing mandatory column i
      Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
      

      Attachments

        1. 5189.txt
          3 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            jbellis Jonathan Ellis
            Sylvain Lebresne
            Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: