Fixed stateless tests error

This commit is contained in:
qianlixiang 2019-03-31 14:59:21 +08:00
parent bd6bc86ceb
commit 6c77d41838
2 changed files with 34 additions and 34 deletions

View File

@ -1,19 +1,19 @@
[]
[1,2]
[1]
[1,2]
[]
[]
[]
[]
[]
[]
[]
[]
[1,2]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[1]
[1,2]
[]
[1,2]
[1,2]
[1,2]
[1,2]
@ -22,22 +22,22 @@
[]
[]
[]
[1,2]
[1,2]
[]
[1]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[1,2]
[1,2]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[1]
[]
[1,2]
[1,2]
[1,2]
[1,2]
[1,2]

View File

@ -7,21 +7,21 @@ insert into test.array_intersect values ('2019-01-01', [1,2]);
insert into test.array_intersect values ('2019-01-01', [1]);
insert into test.array_intersect values ('2019-01-01', []);
select arrayIntersect(arr, [1,2]) from test.array_intersect;
select arrayIntersect(arr, []) from test.array_intersect;
select arrayIntersect([], arr) from test.array_intersect;
select arrayIntersect([1,2], arr) from test.array_intersect;
select arrayIntersect([1,2], [1,2,3,4]) from test.array_intersect;
select arrayIntersect([], []) from test.array_intersect;
select arrayIntersect(arr, [1,2]) from test.array_intersect order by arr;
select arrayIntersect(arr, []) from test.array_intersect order by arr;
select arrayIntersect([], arr) from test.array_intersect order by arr;
select arrayIntersect([1,2], arr) from test.array_intersect order by arr;
select arrayIntersect([1,2], [1,2,3,4]) from test.array_intersect order by arr;
select arrayIntersect([], []) from test.array_intersect order by arr;
optimize table test.array_intersect;
select arrayIntersect(arr, [1,2]) from test.array_intersect;
select arrayIntersect(arr, []) from test.array_intersect;
select arrayIntersect([], arr) from test.array_intersect;
select arrayIntersect([1,2], arr) from test.array_intersect;
select arrayIntersect([1,2], [1,2,3,4]) from test.array_intersect;
select arrayIntersect([], []) from test.array_intersect;
select arrayIntersect(arr, [1,2]) from test.array_intersect order by arr;
select arrayIntersect(arr, []) from test.array_intersect order by arr;
select arrayIntersect([], arr) from test.array_intersect order by arr;
select arrayIntersect([1,2], arr) from test.array_intersect order by arr;
select arrayIntersect([1,2], [1,2,3,4]) from test.array_intersect order by arr;
select arrayIntersect([], []) from test.array_intersect order by arr;
drop table if exists test.array_intersect;