Skip to content
ClickHouse Docs

count_distinct_* session settings

Autogenerated from ClickHouse system tables

These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.

count_distinct_implementation

Specifies which of the uniq* functions should be used to perform the COUNT(DISTINCT …) construction.

Possible values:

count_distinct_optimization

Rewrite count distinct to subquery of group by