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

Boolean inspector fails if non boolean is provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Morpheus
    • analytics
    • Untriaged
    • 0
    • Unknown

    Description

      CREATE COLLECTION Reviews
      PRIMARY KEY (id: UUID) AUTOGENERATED; 

      UPSERT INTO Reviews (
          {"year": 1, "quarter": 1, "review": "good"}
      ) 

      SELECT * 
      FROM Reviews r
      WHERE r.review 

       

      The query throws an error:

      Type mismatch: function boolean-inspector expects its 0 input parameter to be of type boolean, but the actual input type is string 

      Attachments

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

        Activity

          People

            wail.alkowaileet Wail Alkowaileet
            wail.alkowaileet Wail Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty