mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fixed tests
This commit is contained in:
parent
c73808615b
commit
6dc41ad653
@ -8,14 +8,14 @@ select mapContains(a, 'name') from table_map;
|
||||
select mapContains(a, 'gender') from table_map;
|
||||
select mapContains(a, 'abc') from table_map;
|
||||
select mapContains(a, b) from table_map;
|
||||
select mapContains(a, 10) from table_map; -- { serverError 43 }
|
||||
select mapContains(a, 10) from table_map; -- { serverError 386 }
|
||||
select mapKeys(a) from table_map;
|
||||
drop table if exists table_map;
|
||||
|
||||
CREATE TABLE table_map (a Map(UInt8, Int), b UInt8, c UInt32) engine = MergeTree order by tuple();
|
||||
insert into table_map select map(number, number), number, number from numbers(1000, 3);
|
||||
select mapContains(a, b), mapContains(a, c), mapContains(a, 233) from table_map;
|
||||
select mapContains(a, 'aaa') from table_map; -- { serverError 43 }
|
||||
select mapContains(a, 'aaa') from table_map; -- { serverError 386 }
|
||||
select mapContains(b, 'aaa') from table_map; -- { serverError 43 }
|
||||
select mapKeys(a) from table_map;
|
||||
select mapValues(a) from table_map;
|
||||
|
Loading…
Reference in New Issue
Block a user