mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
15 lines
644 B
SQL
15 lines
644 B
SQL
SELECT arrayAUC([], []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
SELECT arrayAUC([1], [1]);
|
|
SELECT arrayAUC([1], []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
SELECT arrayAUC([], [1]); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
SELECT arrayAUC([1, 2], [3]); -- { serverError BAD_ARGUMENTS }
|
|
SELECT arrayAUC([1], [2, 3]); -- { serverError BAD_ARGUMENTS }
|
|
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]);
|