2021-09-12 12:35:27 +00:00
|
|
|
-- Tags: no-parallel
|
|
|
|
|
2021-08-23 14:31:58 +00:00
|
|
|
CREATE FUNCTION 01856_test_function_0 AS (a, b, c) -> a * b * c;
|
|
|
|
SELECT 01856_test_function_0(2, 3, 4);
|
|
|
|
SELECT isConstant(01856_test_function_0(1, 2, 3));
|
|
|
|
DROP FUNCTION 01856_test_function_0;
|
|
|
|
CREATE FUNCTION 01856_test_function_1 AS (a, b) -> a || b || c; --{serverError 47}
|
2021-08-27 13:26:26 +00:00
|
|
|
CREATE FUNCTION 01856_test_function_1 AS (a, b) -> 01856_test_function_1(a, b) + 01856_test_function_1(a, b); --{serverError 611}
|
|
|
|
CREATE FUNCTION cast AS a -> a + 1; --{serverError 609}
|
|
|
|
CREATE FUNCTION sum AS (a, b) -> a + b; --{serverError 609}
|
2021-08-23 14:31:58 +00:00
|
|
|
CREATE FUNCTION 01856_test_function_2 AS (a, b) -> a + b;
|
2021-08-27 13:26:26 +00:00
|
|
|
CREATE FUNCTION 01856_test_function_2 AS (a) -> a || '!!!'; --{serverError 609}
|
2021-08-23 14:31:58 +00:00
|
|
|
DROP FUNCTION 01856_test_function_2;
|
|
|
|
DROP FUNCTION unknown_function; -- {serverError 46}
|
2021-08-27 13:26:26 +00:00
|
|
|
DROP FUNCTION CAST; -- {serverError 610}
|