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

[BACKPORT MB-22482] - group by on empty table should not give any results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.4
    • 4.6.0, 5.0.0
    • query
    • None
    • Triaged
    • Unknown

    Description

      On empty bucket should return 0 results

      select a from default group by a ;
      select a from default where b = "xyz" group by a ;  --no items qualified
      select a , sum(a) as sum from default group by a ;
      
      

      Attachments

        Issue Links

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              Sitaram.Vemulapalli Sitaram Vemulapalli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty