druid/extensions-core
Gian Merlino 8276c031c5
Add druid.sql.approxCountDistinct.function property. (#11181)
* Add druid.sql.approxCountDistinct.function property.

The new property allows admins to configure the implementation for
APPROX_COUNT_DISTINCT and COUNT(DISTINCT expr) in approximate mode.

The motivation for adding this setting is to enable site admins to
switch the default HLL implementation to DataSketches.

For example, an admin can set:

  druid.sql.approxCountDistinct.function = APPROX_COUNT_DISTINCT_DS_HLL

* Fixes

* Fix tests.

* Remove erroneous cannotVectorize.

* Remove unused import.

* Remove unused test imports.
2021-10-25 12:16:21 -07:00
..
avro-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
azure-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
datasketches Add druid.sql.approxCountDistinct.function property. (#11181) 2021-10-25 12:16:21 -07:00
druid-aws-rds-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
druid-basic-security refactor sql authorization to get resource type from schema, resource type to be string (#11692) 2021-09-17 09:53:25 -07:00
druid-bloom-filter Add druid.sql.approxCountDistinct.function property. (#11181) 2021-10-25 12:16:21 -07:00
druid-kerberos bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
druid-pac4j bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
druid-ranger-security refactor sql authorization to get resource type from schema, resource type to be string (#11692) 2021-09-17 09:53:25 -07:00
ec2-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
google-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
hdfs-storage bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
histogram add output type information to ExpressionPostAggregator (#11818) 2021-10-22 13:52:51 -07:00
kafka-extraction-namespace Update Apache Kafka client libraries to 3.0.0 (#11735) 2021-10-05 10:23:19 -07:00
kafka-indexing-service Kafka Input Format for headers, key and payload parsing (#11630) 2021-10-07 08:56:27 -07:00
kinesis-indexing-service bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
kubernetes-extensions Remove CloseQuietly and migrate its usages to other methods. (#10247) 2021-10-23 17:03:21 -07:00
lookups-cached-global bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
lookups-cached-single bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
mysql-metadata-storage bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
orc-extensions Upgrade ORC to 1.7.0 (#11726) 2021-09-27 13:20:09 -07:00
parquet-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
postgresql-metadata-storage bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
protobuf-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
s3-extensions bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
simple-client-sslcontext bump version to 0.23.0-SNAPSHOT (#11670) 2021-09-08 15:56:04 -07:00
stats add output type information to ExpressionPostAggregator (#11818) 2021-10-22 13:52:51 -07:00
testing-tools better types (#11713) 2021-10-19 01:47:25 -07:00