What would be the right way to write a Hive query with multiple LIKE operators like this:
SELECT *
FROM some_table
WHERE
some_col LIKE '%abc%'
OR
some_col LIKE '%xyz%'
OR
some_col LIKE '%pqr%'
OR
... (some more LIKE statements)
I tried doing the above as well as
WHERE some_col LIKE '%abc|pqr|xyz%'
but they didn't return any results. It works fine if I write separate queries, i.e.
WHERE some_col LIKE '%abc%' -> returns results
and
WHERE some_col LIKE '%pqr%' -> also returns results