I am trying to write a snowflake UDF that sleeps for 60 seconds and then runs. Is this possible to define within a UDF?
Something like
CREATE OR REPLACE FUNCTION MY_FUNCTION()
RETURNS INT
AS
$$
--- sleeps for 60 seconds
--- executes function/does something
$$;
Thanks.