Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

rewrite_* session settings

These settings are available in system.settings and are autogenerated from source.

rewrite_count_distinct_if_with_count_distinct_implementation

Type
Bool
Default
0
Version history
VersionDefault valueComment
23.80New setting to rewrite countDistinctIf with count_distinct_implementation configuration. It is disabled by default

Allows you to rewrite countDistcintIf with count_distinct_implementation setting.

Possible values:

  • true — Allow.
  • false — Disallow.

rewrite_in_to_join

Experimental feature
Type
Bool
Default
0
Version history
VersionDefault valueComment
25.100New experimental setting

Rewrite expressions like ‘x IN subquery’ to JOIN. This might be useful for optimizing the whole query with join reordering.

Navigation