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

[CX] Misspelled function name in query results in internal error

    XMLWordPrintable

Details

    • Untriaged
    • Yes
    • CX Sprint 177

    Description

      When function is misspelled within a with clause of query, this results in internal error instead of the usual function on found error.

      The following query reproduce this behaviour

      with T as (Select  object_airs({"a":1}))
      select value t from T t
      

      The output:

      [
        {
          "code": 25000,
          "msg": "Internal error",
          "query_from_user": "\nwith T as (Select  object_airs({\"a\":1}))\nselect value t from T t"
        }
      ]
      

      Attachments

        For Gerrit Dashboard: MB-36862
        # Subject Branch Project Status CR V

        Activity

          People

            ali.alsuliman Ali Alsuliman
            sandeep.gupta Sandeep Gupta (Inactive)
            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