I'm using Hive, and have a database of strings. I want the rows with certain words, but need word boundaries (if I'm searching for "transport", I don't want a row with "transporter"). How do I do this?
Currently, I'm doing something like the following:
hive> select * from myTable where (length(regexp_extract(column1, 'transport', 0)) > 0);
But obviously this is not incorporating any word boundaries.
Thanks in advance!