mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
test for the bug #8490
This commit is contained in:
parent
12bb7a05ba
commit
9c04bd8f01
80
tests/queries/0_stateless/01518_select_in_null.reference
Normal file
80
tests/queries/0_stateless/01518_select_in_null.reference
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
90
tests/queries/0_stateless/01518_select_in_null.sql
Normal file
90
tests/queries/0_stateless/01518_select_in_null.sql
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
DROP TABLE IF EXISTS t1;
|
||||||
|
|
||||||
|
CREATE TABLE t1 (`cA` String, `c1` String) ENGINE = MergeTree ORDER BY (cA, c1);
|
||||||
|
|
||||||
|
insert into t1 select 'AAAAAAAAAAA', 'BBBBBB';
|
||||||
|
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where c1 in (select 'BBBBBB' union all select null);
|
||||||
|
|
||||||
|
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
select count() from t1 where cast(c1 as Nullable(String)) in (select 'BBBBBB' union all select null);
|
||||||
|
|
||||||
|
DROP TABLE t1;
|
Loading…
Reference in New Issue
Block a user