I have to implement logic where I need to use ANY in case statement. But I am not sure if this is allowed in Snowflake. The code looks like
SELECT CASE
WHEN (Field1 = ANY(array['a'::VARCHAR(24), 'b'::varchar(15), 'c'::varchar(20)])) THEN 'd'::varchar(16)
WHEN Condition 2 THEN abc
ELSE def
END AS xyz
Getting syntax error Unexpected ',' and unexpected ']'