这些设置可在 system.settings 中查看,并由 源代码 自动生成。
rewrite_count_distinct_if_with_count_distinct_implementation
类型
Bool
默认值
0
版本历史
| 版本 | 默认值 | 注释 |
|---|---|---|
| 23.8 | 0 | 使用 count_distinct_implementation 设置重写 countDistinctIf 的新设置。默认禁用 |
允许通过 count_distinct_implementation 设置将 countDistcintIf 重写。
可能值:
- true — 允许。
- false — 不允许。
rewrite_in_to_join
类型
Bool
默认值
0
版本历史
| 版本 | 默认值 | 注释 |
|---|---|---|
| 25.10 | 0 | 新的实验性设置 |
将类似 'x IN subquery' 的表达式重写为 JOIN。这可能有助于通过重排 join 顺序来优化整个查询。