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
    • Resolution: Fixed
    • Major
    • 3.2.0
    • None
    • 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

        For Gerrit Dashboard: CCBC-1402
        # Subject Branch Project Status CR V

        Activity

          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