Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60465

check null handling in cbq shell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 7.6.0
    • query
    • None
    • Untriaged
    • 0
    • No

    Description

      \SET -$x Null;

      select $x is null, $x, Null is null;
      {
          "requestID": "755805a4-ae3d-4f5e-a751-fb5bb8242b59",
          "signature": {
              "$1": "boolean",
              "$2": "json",
              "$3": "boolean"
          },
          "results": [
          {
              "$1": false,
              "$2": "Null",
              "$3": true
          }
          ]
      

      NULL is RESERVED word, it is case insensitive. see if we handle right via cbq shell.

      Named Parameters :
      Parameter name : x
      Value : ["Null"]
      treated string , may be handled only upper/lower, not mixed

      Attachments

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

        Activity

          People

            Donald.haggart Donald Haggart
            Sitaram.Vemulapalli Sitaram Vemulapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty