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

        Sylvain Lebresne created issue -
        Hide
        Sylvain Lebresne added a comment -

        Trivial patch attached

        Show
        Sylvain Lebresne added a comment - Trivial patch attached
        Sylvain Lebresne made changes -
        Field Original Value New Value
        Attachment 5040.patch [ 12559873 ]
        Sylvain Lebresne made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Jonathan Ellis added a comment -

        +1

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

        Committed, thanks

        Show
        Sylvain Lebresne added a comment - Committed, thanks
        Sylvain Lebresne made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Reviewer jbellis
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12741346 ] patch-available, re-open possible [ 12753732 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12753732 ] reopen-resolved, no closed status, patch-avail, testing [ 12758899 ]

          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