ClickHouse/tests/queries/0_stateless/02126_identity_user_defined_function.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
379 B
MySQL
Raw Normal View History

2021-12-02 10:13:58 +00:00
-- Tags: no-parallel
2021-11-29 10:19:54 +00:00
DROP FUNCTION IF EXISTS 02126_function;
CREATE FUNCTION 02126_function AS x -> x;
SELECT 02126_function(1);
DROP FUNCTION 02126_function;
CREATE FUNCTION 02126_function AS () -> x;
SELECT 02126_function(); --{ serverError 47 }
DROP FUNCTION 02126_function;
CREATE FUNCTION 02126_function AS () -> 5;
SELECT 02126_function();
DROP FUNCTION 02126_function;