Fixed tests

This commit is contained in:
Maksim Kita 2021-10-20 13:09:33 +03:00
parent 83787e26f2
commit fe93533ba4
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
-- Tags: no-parallel
CREATE FUNCTION alias_function AS x -> (((x * 2) AS x_doubled) + x_doubled);
SELECT alias_function(2);
DROP FUNCTION alias_function;
CREATE FUNCTION 02098_alias_function AS x -> (((x * 2) AS x_doubled) + x_doubled);
SELECT 02098_alias_function(2);
DROP FUNCTION 02098_alias_function;

View File

@ -1,4 +1,4 @@
-- Tags: no-parallel
CREATE FUNCTION lambda_function AS x -> arrayMap(array_element -> array_element * 2, x);
SELECT lambda_function([1,2,3]);
DROP FUNCTION lambda_function;
CREATE FUNCTION 02099_lambda_function AS x -> arrayMap(array_element -> array_element * 2, x);
SELECT 02099_lambda_function([1,2,3]);
DROP FUNCTION 02099_lambda_function;