Skip to content
ClickHouse Docs

rewrite_* session settings

Autogenerated from ClickHouse system tables

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

rewrite_count_distinct_if_with_count_distinct_implementation

Allows you to rewrite countDistcintIf with count_distinct_implementation setting.

Possible values:

  • true — Allow.
  • false — Disallow.

rewrite_in_to_join

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