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

Confusing error message for 'meta' on standalone collections

    XMLWordPrintable

Details

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

    Description

      select meta(m) from db.scope.mycollection as m where _id LIKE '%data';

      returns the error

      "Compilation error: Inappropriate use of function 'meta'. For example, after GROUP BY (in line 1, at column 8)"  

      even though there is no GROUP BY in the query.
      The good news is that meta should only work on shadow collections - we just need a better error message.

      Attachments

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

        Activity

          People

            ali.alsuliman Ali Alsuliman
            till Till Westmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty