dbms: added test [#METR-18382].

This commit is contained in:
Alexey Milovidov 2015-10-12 10:15:57 +03:00
parent bb283e6602
commit 7f06d70d45
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,20 @@
1
1
0
1
0
1
1
0
1
0
1
1
0
1
0
1
1
0
1
0

View File

@ -0,0 +1,23 @@
SELECT has([1, 2, 3], 3.0);
SELECT has([1, 2.0, 3], 2);
SELECT has([1, 2.1, 3], 2);
SELECT has([1, -1], 1);
SELECT has([1, -1], 1000);
SELECT has(materialize([1, 2, 3]), 3.0);
SELECT has(materialize([1, 2.0, 3]), 2);
SELECT has(materialize([1, 2.1, 3]), 2);
SELECT has(materialize([1, -1]), 1);
SELECT has(materialize([1, -1]), 1000);
SELECT has([1, 2, 3], materialize(3.0));
SELECT has([1, 2.0, 3], materialize(2));
SELECT has([1, 2.1, 3], materialize(2));
SELECT has([1, -1], materialize(1));
SELECT has([1, -1], materialize(1000));
SELECT has(materialize([1, 2, 3]), materialize(3.0));
SELECT has(materialize([1, 2.0, 3]), materialize(2));
SELECT has(materialize([1, 2.1, 3]), materialize(2));
SELECT has(materialize([1, -1]), materialize(1));
SELECT has(materialize([1, -1]), materialize(1000));