ing-bank / scruid

Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.
Apache License 2.0
115 stars 29 forks source link

How to calculate the count distinct from the cardianality functionality of Druid in the druid query language (DQL) #73

Closed utk14 closed 4 years ago

utk14 commented 4 years ago

Hi, I was working on the generation of count distinct number for a particular metrics using DQL but unable to implement cardinality functionality of the druid (https://druid.apache.org/docs/latest/querying/aggregations) into the scruid

anskarl commented 4 years ago

Hi @utk14 I've prepared a PR to add support for cardinality aggregation in Scruid

utk14 commented 4 years ago

@anskarl Has your PR merged?

anskarl commented 4 years ago

@utk14 merged today