add some full columns test cases

This commit is contained in:
taiyang-li 2021-11-08 17:09:23 +08:00
parent 12834902c0
commit 8c93e08fd4
2 changed files with 6 additions and 0 deletions

View File

@ -27,3 +27,7 @@
{0:0} 1
{0:0} 0
{'aa':4,'bb':5}
{'aa':4,'bb':5}
{'aa':4,'bb':5}
{'aa':4,'bb':5}
{'aa':4,'bb':5}

View File

@ -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 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]); -- { serverError 190 }