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

Druid adapter: Push count(column) using Druid filtered aggregate

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      We can make use of newly added filtered aggregate (ie org.apache.calcite.adapter.druid.DruidQuery.JsonFilteredAggregation) and push down Count(column) as

       Count(*) where column is not Null 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment