mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
add some full columns test cases
This commit is contained in:
parent
12834902c0
commit
8c93e08fd4
@ -27,3 +27,7 @@
|
|||||||
{0:0} 1
|
{0:0} 1
|
||||||
{0:0} 0
|
{0:0} 0
|
||||||
{'aa':4,'bb':5}
|
{'aa':4,'bb':5}
|
||||||
|
{'aa':4,'bb':5}
|
||||||
|
{'aa':4,'bb':5}
|
||||||
|
{'aa':4,'bb':5}
|
||||||
|
{'aa':4,'bb':5}
|
||||||
|
@ -31,5 +31,7 @@ select map( 'aa', 4, 'bb' , 5) as m, mapContains(m, 'aa'), mapContains(m, 'k');
|
|||||||
select map(0, 0) as m, mapContains(m, number % 2) from numbers(2);
|
select map(0, 0) as m, mapContains(m, number % 2) from numbers(2);
|
||||||
|
|
||||||
select mapFromArrays(['aa', 'bb'], [4, 5]);
|
select mapFromArrays(['aa', 'bb'], [4, 5]);
|
||||||
|
select mapFromArrays(['aa', 'bb'], materialize([4, 5]));
|
||||||
|
select mapFromArrays(['aa', 'bb'], materialize([4, 5])) from numbers(3);
|
||||||
select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]); -- { serverError 42 }
|
select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]); -- { serverError 42 }
|
||||||
select mapFromArrays(['aa', 'bb'], [4, 5, 6]); -- { serverError 190 }
|
select mapFromArrays(['aa', 'bb'], [4, 5, 6]); -- { serverError 190 }
|
||||||
|
Loading…
Reference in New Issue
Block a user