FORMAT_MESSAGE_UDF
CREATE OR REPLACE FUNCTION FORMAT_MESSAGE_UDF(MESSAGE STRING, ARGS ARRAY)
RETURNS STRING
LANGUAGE python
IMMUTABLE
RUNTIME_VERSION = '3.8'
HANDLER = 'format_py'
as
$$
def format_py(message,args):
return message % (*args,)
$$;Last updated
Was this helpful?