Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2094

Druid adapter: Count(*) returns null instead of 0 when condition filters all rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • druid-adapter
    • None

    Description

      Druid adapter returns nothing for

       Select count(*) from table where condition_is_false 

      According to SQL standard the result need to be zero.

      Attachments

        Issue Links

          Activity

            People

              bslim Slim Bouguerra
              bslim Slim Bouguerra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: