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\",
See array operator docs here
contains(array_column,'denied')
Use presto's array functions:
filter()
cardinality()
Like this:
where cardinality(filter(myArray, x -> x like '%denied%')) > 0