Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 rc1
    • Component/s: None
    • Labels:
      None

      Description

      The following should work but well, doesnt:

      cqlsh:k> CREATE TABLE t (k int PRIMARY KEY, v int);
      cqlsh:k> INSERT INTO t (k) VALUES (0);
      Bad Request: line 1:27 required (...)+ loop did not match anything at input ')'
      

      The reason is just that the parser for INSERT has never been updated from the time where providing only a key was illegal.

        Attachments

        1. 5040.patch
          1 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: