For example, one column in my table is an array, I want to check if that column contains an element that contains substring \"denied\" (so elements like \"denied at 12:00 pm\",
Use presto's array functions:
filter()
cardinality()
Like this:
where cardinality(filter(myArray, x -> x like '%denied%')) > 0