ClickHouse/tests/queries/0_stateless/01388_multi_if_optimization.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
173 B
Plaintext
Raw Normal View History

2020-07-08 22:41:25 +00:00
SELECT if(number = 1, \'hello\', if(number = 2, \'world\', \'xyz\'))
FROM numbers(10)
SELECT multiIf(number = 1, \'hello\', number = 2, \'world\', \'xyz\')
FROM numbers(10)