mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
6 lines
384 B
MySQL
6 lines
384 B
MySQL
|
-- If you are reading this test please note that as of now this setting does not provide benefits in most of the cases.
|
||
|
SET optimize_if_chain_to_multiif = 0;
|
||
|
EXPLAIN SYNTAX SELECT number = 1 ? 'hello' : (number = 2 ? 'world' : 'xyz') FROM numbers(10);
|
||
|
SET optimize_if_chain_to_multiif = 1;
|
||
|
EXPLAIN SYNTAX SELECT number = 1 ? 'hello' : (number = 2 ? 'world' : 'xyz') FROM numbers(10);
|