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

[CX] SELECT COUNT(_id) AS COUNT_EMPLOYEE FROM default gives error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.0
    • CBAS DP
    • analytics
    • Untriaged
    • Unknown

    Description

      Query issued:

      SELECT COUNT(_id) AS COUNT_EMPLOYEE FROM default_shadow;

      "msg": "Syntax error: In line 1 >>SELECT COUNT(_id) AS COUNT_EMPLOYEE FROM default_shadow;<< Encountered '(' \"(\" at column 13. "

      Above query works fine in n1ql.
      Attaching dataset.

      Attachments

        Issue Links

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

          Activity

            People

              tanzeem.ahmed Tanzeem Ahmed (Inactive)
              Prerna.Manaktala Prerna Manaktala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty