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

[CX] cbas supports select .... AS <XYZ> while n1ql gives error same query.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 6.0.0
    • CBAS DP
    • analytics
    • Untriaged
    • Unknown

    Description

      cbas query issued:
      SELECT test.tasks_points as points FROM default_shadow AS TEST GROUP BY tasks_points AS GROUP_POINT;
       
      Results:
      	"results": [ {
       
      		} ]
      	,
       
      No error seen in cbas
       
      n1ql query:
      SELECT test.tasks_points as points FROM defaul AS TEST GROUP BY tasks_points AS GROUP_POINT;
       
      Error reported:     "msg": "syntax error - at AS",
      
      

      Attachments

        Issue Links

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

          Activity

            People

              mihir.kamdar Mihir Kamdar (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