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

[N1QL] Error message is wrong in case of non json arguments in tokens

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.6.2, 5.0.0
    • 4.6.0
    • query
    • 4.6.0-3344

    Description

      Query issued:
      EXPLAIN select name from default where any v within tokens(default.join_yr,{"case"}) satisfies v = 2016 END
      AND (ANY x within tokens(default.VMs,{"specials"}) SATISFIES x.RAM between 1 and 5  END )
       
      Current Error message:
      "msg": "Object member has no name: \"case\" - at } \n Object member has no name: \"specials\" - at }"
       
       
      Correct Error message:
      “Object member has no value for name ‘case’”.
      
      

      Attachments

        Issue Links

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

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              Prerna.Manaktala Prerna Manaktala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty