These settings are available in system.settings and are autogenerated from source.
optimize_redundant_comparisons
Type
Bool
Default
1
Version history
| Version | Default value | Comment |
|---|---|---|
| 26.7 | 1 | New setting to detect conflicting and redundant comparison conditions on the same expression within AND chains. |
Detect conflicting and redundant comparison conditions on the same expression within AND chains. For example, a < 1 AND a > 5 would be rewritten to false.
optimize_redundant_functions_in_order_by
Type
Bool
Default
1
Remove functions from ORDER BY if its argument is also in ORDER BY