I need to rewrite a SQL scalar function which is called in power bi reports
how can I achieve the following in snowflake?
create function test (@input varchar(