Snowflake error, Unsupported subquery type cannot be evaluated
I have a user defined function which returns number, argument is also a number. There is an aggregate function(sum()) inside the UDF. I am calling this UDF from a select clause. It’s giving me the error “Unsupported subquery type cannot be evaluated”.