Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

rewrite_* 会话设置

这些设置可在 system.settings 中查看,并由 源代码 自动生成。

rewrite_count_distinct_if_with_count_distinct_implementation

类型
Bool
默认值
0
版本历史
版本默认值注释
23.80使用 count_distinct_implementation 设置重写 countDistinctIf 的新设置。默认禁用

允许通过 count_distinct_implementation 设置将 countDistcintIf 重写。

可能值:

  • true — 允许。
  • false — 不允许。

rewrite_in_to_join

Experimental 功能
类型
Bool
默认值
0
版本历史
版本默认值注释
25.100新的实验性设置

将类似 'x IN subquery' 的表达式重写为 JOIN。这可能有助于通过重排 join 顺序来优化整个查询。

Navigation