mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test [#CLICKHOUSE-3202].
This commit is contained in:
parent
49bdf266b0
commit
07b24dd646
@ -0,0 +1,80 @@
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
||||
world
|
||||
hello
|
||||
world
|
||||
hello
|
||||
world
|
19
dbms/tests/queries/0_stateless/00486_if_fixed_string.sql
Normal file
19
dbms/tests/queries/0_stateless/00486_if_fixed_string.sql
Normal file
@ -0,0 +1,19 @@
|
||||
SELECT number % 2 ? 'hello' : 'world' FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize('hello') : 'world' FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? 'hello' : materialize('world') FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize('hello') : materialize('world') FROM system.numbers LIMIT 5;
|
||||
|
||||
SELECT number % 2 ? toFixedString('hello', 5) : 'world' FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize(toFixedString('hello', 5)) : 'world' FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? toFixedString('hello', 5) : materialize('world') FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize(toFixedString('hello', 5)) : materialize('world') FROM system.numbers LIMIT 5;
|
||||
|
||||
SELECT number % 2 ? 'hello' : toFixedString('world', 5) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize('hello') : toFixedString('world', 5) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? 'hello' : materialize(toFixedString('world', 5)) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize('hello') : materialize(toFixedString('world', 5)) FROM system.numbers LIMIT 5;
|
||||
|
||||
SELECT number % 2 ? toFixedString('hello', 5) : toFixedString('world', 5) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize(toFixedString('hello', 5)) : toFixedString('world', 5) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? toFixedString('hello', 5) : materialize(toFixedString('world', 5)) FROM system.numbers LIMIT 5;
|
||||
SELECT number % 2 ? materialize(toFixedString('hello', 5)) : materialize(toFixedString('world', 5)) FROM system.numbers LIMIT 5;
|
Loading…
Reference in New Issue
Block a user