Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1402

Incorrect decoding of rows for RAW queries

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None
    • 1

    Description

      $ cbc query 'SELECT RAW data.val FROM [{"val": "foo"}, {"val": null}, {"val": 42}, {"val": "bar"}] AS data'
      ---> Encoded query: {"statement":"SELECT RAW data.val FROM [{\"val\": \"foo\"}, {\"val\": null}, {\"val\": 42}, {\"val\": \"bar\"}] AS data"}
       
      "foo",
      null,,
      42,,
      "bar",
      ---> Query response finished
      {
      "requestID": "aca6c4fe-b9c8-4fc2-b13a-5b36ef6835b7",
      "clientContextID": "fc456f270673cc9e",
      "signature": "json",
      "results": [
      ],
      "status": "success",
      "metrics": {"elapsedTime": "715.595µs","executionTime": "690.26µs","resultCount": 4,"resultSize": 16,"serviceLoad": 3}
      }
      

      streaming JSON parser in libcouchbase leaves trailing characters for the rows

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-7.0.0-5273 contains libcouchbase commit ff76f7c with commit message:
          CCBC-1402: Fix parsing JSON primitives as query rows

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5273 contains libcouchbase commit ff76f7c with commit message: CCBC-1402 : Fix parsing JSON primitives as query rows

          Build couchbase-server-7.0.1-5827 contains libcouchbase commit ff76f7c with commit message:
          CCBC-1402: Fix parsing JSON primitives as query rows

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5827 contains libcouchbase commit ff76f7c with commit message: CCBC-1402 : Fix parsing JSON primitives as query rows

          Build couchbase-server-7.1.0-1007 contains libcouchbase commit ff76f7c with commit message:
          CCBC-1402: Fix parsing JSON primitives as query rows

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1007 contains libcouchbase commit ff76f7c with commit message: CCBC-1402 : Fix parsing JSON primitives as query rows

          Build couchbase-server-7.1.0-1450 contains libcouchbase commit 73b32ac with commit message:
          CCBC-1402: Fix parsing JSON primitives as query rows

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 73b32ac with commit message: CCBC-1402 : Fix parsing JSON primitives as query rows

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty