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

[CX]"function null.array_agg@1 is undefined "

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Original query issued:
      SELECT job_title, array_agg(DISTINCT name) as names FROM default_shadow GROUP BY job_title;

      Error:
      "msg": "Syntax error: In line 1 >>SELECT job_title, array_agg(DISTINCT name) as names FROM default_shadow GROUP BY job_title;<< Encountered '(' \"(\" at column 28. "

      When I remove distinct from array_agg function, I get:
      "function null.array_agg@1 is undefined "

      Attachments

        Issue Links

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

          Activity

            People

              will.gardella Will Gardella (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