Details

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

      Description

      Preparing an INSERT query fails with CQL3+binary protocol (maybe thrift as well, haven't checked). Preparing an equivalent UPDATE query works just fine.

      demo (id int primary key, value text)
      preparing "INSERT INTO test.demo (id, value) VALUES (?, ?)" -> 8704, Invalid definition for id, not a collection type
      prparing "UPDATE test.demo SET value = ? WHERE id = ?" -> ok

      1. 5016.patch
        1 kB
        Sylvain Lebresne

        Issue Links

          Activity

          Gavin made changes -
          Workflow patch-available, re-open possible [ 12753689 ] reopen-resolved, no closed status, patch-avail, testing [ 12757921 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12736692 ] patch-available, re-open possible [ 12753689 ]
          Sylvain Lebresne made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Sylvain Lebresne added a comment -

          Committed, thanks

          Show
          Sylvain Lebresne added a comment - Committed, thanks
          Sylvain Lebresne made changes -
          Link This issue is duplicated by CASSANDRA-5028 [ CASSANDRA-5028 ]
          Hide
          Aleksey Yeschenko added a comment -

          +1

          Show
          Aleksey Yeschenko added a comment - +1
          Aleksey Yeschenko made changes -
          Reviewer iamaleksey
          Sylvain Lebresne made changes -
          Fix Version/s 1.2.0 rc1 [ 12323481 ]
          Fix Version/s 1.2.0 [ 12323243 ]
          Sylvain Lebresne made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 1.2.0 [ 12323243 ]
          Sylvain Lebresne made changes -
          Field Original Value New Value
          Attachment 5016.patch [ 12555796 ]
          Aleksey Yeschenko created issue -

            People

            • Assignee:
              Sylvain Lebresne
              Reporter:
              Aleksey Yeschenko
              Reviewer:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development