mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: added test [#METR-16700].
This commit is contained in:
parent
b6ccb2f6f5
commit
fc9bbaa2c1
100
dbms/tests/queries/0_stateless/00176_if_string_arrays.reference
Normal file
100
dbms/tests/queries/0_stateless/00176_if_string_arrays.reference
Normal file
@ -0,0 +1,100 @@
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
['abc']
|
||||
['Hello','World']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
[]
|
||||
['Hello','','World!']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
||||
['','']
|
||||
['']
|
12
dbms/tests/queries/0_stateless/00176_if_string_arrays.sql
Normal file
12
dbms/tests/queries/0_stateless/00176_if_string_arrays.sql
Normal file
@ -0,0 +1,12 @@
|
||||
SELECT number % 2 ? ['Hello', 'World'] : ['abc'] FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? materialize(['Hello', 'World']) : ['abc'] FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? ['Hello', 'World'] : materialize(['abc']) FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? materialize(['Hello', 'World']) : materialize(['abc']) FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT number % 2 ? ['Hello', '', 'World!'] : emptyArrayString() FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? materialize(['Hello', '', 'World!']) : emptyArrayString() FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT number % 2 ? [''] : ['', ''] FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? materialize(['']) : ['', ''] FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? [''] : materialize(['', '']) FROM system.numbers LIMIT 10;
|
||||
SELECT number % 2 ? materialize(['']) : materialize(['', '']) FROM system.numbers LIMIT 10;
|
Loading…
Reference in New Issue
Block a user