ClickHouse/tests/queries/0_stateless/01202_array_auc_special.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

15 lines
556 B
SQL

SELECT arrayAUC([], []); -- { serverError 43 }
SELECT arrayAUC([1], [1]);
SELECT arrayAUC([1], []); -- { serverError 43 }
SELECT arrayAUC([], [1]); -- { serverError 43 }
SELECT arrayAUC([1, 2], [3]); -- { serverError 36 }
SELECT arrayAUC([1], [2, 3]); -- { serverError 36 }
SELECT arrayAUC([1, 1], [1, 1]);
SELECT arrayAUC([1, 1], [0, 0]);
SELECT arrayAUC([1, 1], [0, 1]);
SELECT arrayAUC([0, 1], [0, 1]);
SELECT arrayAUC([1, 0], [0, 1]);
SELECT arrayAUC([0, 0, 1], [0, 1, 1]);
SELECT arrayAUC([0, 1, 1], [0, 1, 1]);
SELECT arrayAUC([0, 1, 1], [0, 0, 1]);