Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

      1. 5040.patch
        1 kB
        Sylvain Lebresne

        Activity

        Hide
        Sylvain Lebresne added a comment -

        Committed, thanks

        Show
        Sylvain Lebresne added a comment - Committed, thanks
        Hide
        Jonathan Ellis added a comment -

        +1

        Show
        Jonathan Ellis added a comment - +1
        Hide
        Sylvain Lebresne added a comment -

        Trivial patch attached

        Show
        Sylvain Lebresne added a comment - Trivial patch attached

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development