2024-05-30 12:27:25 +00:00
|
|
|
SELECT arrayAUC([], []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
2020-03-24 05:14:48 +00:00
|
|
|
SELECT arrayAUC([1], [1]);
|
2024-05-30 12:27:25 +00:00
|
|
|
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 }
|
2020-03-24 05:14:48 +00:00
|
|
|
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]);
|
2024-09-18 18:17:54 +00:00
|
|
|
SELECT arrayAUC([], [], true); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([1], [1], true);
|
|
|
|
SELECT arrayAUC([1], [], true); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([], [1], true); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([1, 2], [3], true); -- { serverError BAD_ARGUMENTS }
|
|
|
|
SELECT arrayAUC([1], [2, 3], true); -- { serverError BAD_ARGUMENTS }
|
|
|
|
SELECT arrayAUC([1, 1], [1, 1], true);
|
|
|
|
SELECT arrayAUC([1, 1], [0, 0], true);
|
|
|
|
SELECT arrayAUC([1, 1], [0, 1], true);
|
|
|
|
SELECT arrayAUC([0, 1], [0, 1], true);
|
|
|
|
SELECT arrayAUC([1, 0], [0, 1], true);
|
|
|
|
SELECT arrayAUC([0, 0, 1], [0, 1, 1], true);
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 1, 1], true);
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 0, 1], true);
|
2024-09-18 17:13:22 +00:00
|
|
|
SELECT arrayAUC([], [], false); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([1], [1], false);
|
|
|
|
SELECT arrayAUC([1], [], false); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([], [1], false); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([1, 2], [3], false); -- { serverError BAD_ARGUMENTS }
|
|
|
|
SELECT arrayAUC([1], [2, 3], false); -- { serverError BAD_ARGUMENTS }
|
|
|
|
SELECT arrayAUC([1, 1], [1, 1], false);
|
|
|
|
SELECT arrayAUC([1, 1], [0, 0], false);
|
|
|
|
SELECT arrayAUC([1, 1], [0, 1], false);
|
|
|
|
SELECT arrayAUC([0, 1], [0, 1], false);
|
|
|
|
SELECT arrayAUC([1, 0], [0, 1], false);
|
|
|
|
SELECT arrayAUC([0, 0, 1], [0, 1, 1], false);
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 1, 1], false);
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 0, 1], false);
|
2024-09-18 18:17:54 +00:00
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 0, 1], false, true); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
|
|
|
|
SELECT arrayAUC([0, 1, 1]); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 0, 1], 'false'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
SELECT arrayAUC([0, 1, 1], [0, 0, 1], 4); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|