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

Cannot resolve ambiguous alias reference for undefined identifier num_beers in [#1, $brewery_id]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 5.5.0
    • 5.5.0
    • analytics
    • Enterprise Edition 5.5.0 build 1766
    • Untriaged
    • Yes
    • CX Sprint 89

    Description

      Try the below queries with beer-sample:

      create bucket beerBucket with {"name":"beer-sample"};
      create shadow dataset beers on beerBucket WHERE `type`="beer";
      create shadow dataset breweries on beerBucket WHERE `type`="brewery";
      connect bucket beerBucket;
      SELECT br.brewery_id, COUNT(*) AS num_beers FROM beers br GROUP BY br.brewery_id HAVING num_beers > 30 and br.brewery_id != "";
      

      Attachments

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

        Activity

          People

            ritesh.agarwal Ritesh Agarwal
            ritesh.agarwal Ritesh Agarwal
            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